Skip to content

Commit

Permalink
Attempt to fix cache usage
Browse files Browse the repository at this point in the history
  • Loading branch information
hirasso committed Nov 14, 2023
1 parent 5275979 commit 411fa27
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:
~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ hashFiles('**/package-lock.json') }}

- name: Install dependencies
run: npm ci
- run: npm ci

- name: Bundle library
run: npm run build

- name: Install playwright browsers
run: npx playwright install --with-deps
- run: npx playwright install --with-deps
if: steps.playwright-cache.outputs.cache-hit != 'true'

- run: npx playwright install-deps
if: steps.playwright-cache.outputs.cache-hit == 'true'

- run: npm run build

- name: Run tests
run: npx playwright test --config ./tests/config/playwright.config.ts

0 comments on commit 411fa27

Please sign in to comment.