Skip to content

Commit

Permalink
Only upload artifacts on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
nicodh committed Dec 11, 2024
1 parent b7ce672 commit 8bb93e5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,8 @@ jobs:
run: mkdir -p packages/target-browser/data
- name: Run e2e tests
run: pnpm e2e --project Chrome
- name: Show paths
run: pwd && ls -la packages/e2e-tests/
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
if: ${{ failure() }}
with:
name: e2e-report
path: packages/e2e-tests/playwright-report
Expand Down

0 comments on commit 8bb93e5

Please sign in to comment.