diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2637991e..348b0c08 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,7 +33,9 @@ jobs: - uses: microsoft/playwright-github-action@v1.3.0 - name: e2e tests (jest+playwright) run: npm run test:jest-e2e -- -ci - - uses: actions/upload-artifact@v2 + - name: Upload artifacts (diff output) + uses: actions/upload-artifact@v2 + if: failure() with: - name: diff_output + name: diff-output path: ${{ github.workspace }}/tests/**/__diff_output__/*