Skip to content

Commit

Permalink
fix: single workflow syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcC399 committed Mar 31, 2023
1 parent 075d90d commit f835b3c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/single.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
npx cypress version --component node
# Starts local server, then runs Cypress tests and records results on the dashboard
- name: Cypress tests
- name: Cypress single tests
run: npm run test:ci:record
env:
# place your secret record key at
Expand All @@ -71,13 +71,13 @@ jobs:
# Save videos and screenshots as test artifacts
# https://github.com/actions/upload-artifact
- uses: actions/upload-artifact@v3
with:
name: screenshots
path: cypress/screenshots
# there might be no screenshots created when:
# - there are no test failures
# so only upload screenshots if previous step has failed
if: failure()
if: failure()
with:
name: screenshots
path: cypress/screenshots
# video should always be generated
- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit f835b3c

Please sign in to comment.