Skip to content

Commit

Permalink
Add upload-artifact step
Browse files Browse the repository at this point in the history
  • Loading branch information
ThorntonMatthewD authored and oliviasculley committed Oct 9, 2023
1 parent 30cb0f1 commit 387f561
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,15 @@ jobs:
run: npm run test:unit

- name: Run end-to-end tests
id: e2eTests
run: npm run test:e2e

# Uploads the failure screenshots produced by Cypress
- uses: actions/upload-artifact@v3
if: always() && (steps.e2eTests.outcome == 'failure')
name: Upload Cypress failure screenshots
with:
name: cypress-screenshots
path: cypress/screenshots/**/*.png
if-no-files-found: ignore
retention-days: 1

0 comments on commit 387f561

Please sign in to comment.