Skip to content

Commit

Permalink
Try to force Cypress to install if not restored from cache
Browse files Browse the repository at this point in the history
  • Loading branch information
osmestad committed Nov 12, 2024
1 parent 427c592 commit 44bfa4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
env:
TEST_USER: ${{ secrets.PLAYER_TEST_USER }}
- name: Set up Cypress binary cache
id: cypress-cache
uses: actions/cache@v4
with:
path: ~/.cache/Cypress
Expand All @@ -52,7 +53,7 @@ jobs:
env:
CYPRESS_TEST_USER: ${{ steps.json.outputs.encoded }}
with:
install: false
install: ${{ steps.cypress-cache.outputs.cache-hit == 'true' && 'false' || 'true' }}
browser: chrome
start: pnpm --dir packages/player/ dev
wait-on: 'http://localhost:5173/demo/test-case-1.html'
Expand Down

0 comments on commit 44bfa4e

Please sign in to comment.