Skip to content

Commit

Permalink
ci: upload screenshots of e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
seasick committed Jan 22, 2024
1 parent b29dd04 commit 23e2989
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ghpage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,17 @@ jobs:
uses: cypress-io/github-action@v6
with:
browser: chrome
headless: true
start: npm run test:e2e:ci
wait-on: 'http://localhost:8000'
wait-on-timeout: 120

- name: Upload screenshots
uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots

# Single deploy job since we're just deploying
deploy:
environment:
Expand Down

0 comments on commit 23e2989

Please sign in to comment.