Skip to content

Commit

Permalink
Try updating Cypress instead
Browse files Browse the repository at this point in the history
  • Loading branch information
osmestad committed Nov 12, 2024
1 parent 410a835 commit f7a95c8
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 85 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,24 +43,17 @@ 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
key: ${{ runner.os }}-cypress-${{ hashFiles('pnpm-lock.yaml') }}
- name: Install Cypress
if: steps.cypress-cache.outputs.cache-hit != 'true'
uses: cypress-io/github-action@v6
with:
runTests: false
- name: Cypress run
uses: cypress-io/github-action@v6
env:
CYPRESS_TEST_USER: ${{ steps.json.outputs.encoded }}
with:
install: false
browser: chrome
working-directory: packages/player
start: pnpm dev
start: pnpm --dir packages/player/ dev
wait-on: 'http://localhost:5173/demo/test-case-1.html'
command: pnpm internal:cypress:run
command: pnpm --dir packages/player/ internal:cypress:run
2 changes: 1 addition & 1 deletion packages/player/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"@web/test-runner": "0.19.0",
"bowser": "2.11.0",
"chai": "5.1.1",
"cypress": "13.14.2",
"cypress": "13.15.2",
"esbuild": "0.23.1",
"js-levenshtein": "1.1.6",
"rollup": "4.22.4",
Expand Down
Loading

0 comments on commit f7a95c8

Please sign in to comment.