Skip to content

Commit

Permalink
Fix playwright report upload in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
mpanne committed Jan 30, 2025
1 parent 42fed19 commit d9aa9a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
run: npm run test:e2e --workspace ${{ env.WORKSPACE }}

- uses: actions/upload-artifact@v4
if: failure() && (steps.e2e.outcome == 'failure' || steps.e2e-ci.outcome == 'failure')
if: failure() && (steps.e2e.outcome == 'failure' || steps.e2e-nightly.outcome == 'failure')
with:
name: ${{ inputs.package }}-playwright-e2e-test-results
path: packages/${{ inputs.package }}/tests/playwright-report
Expand All @@ -117,7 +117,7 @@ jobs:
VITE_PORT: 4183

- uses: actions/upload-artifact@v4
if: failure() && (steps.a11y.outcome == 'failure' || steps.a11y-ci.outcome == 'failure')
if: failure() && (steps.a11y.outcome == 'failure' || steps.a11y-nightly.outcome == 'failure')
with:
name: playwright-a11y-test-results
path: packages/${{ inputs.package }}/tests/a11y/playwright-report
Expand Down

0 comments on commit d9aa9a6

Please sign in to comment.