Skip to content

Commit

Permalink
Install Playwright browsers before test is run.
Browse files Browse the repository at this point in the history
Tests might fail if the browsers from cache are out of date.
  • Loading branch information
dompuiu authored Jan 27, 2025
1 parent 74b645c commit 7eedf6e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ jobs:
- name: Install dependencies
if: steps.npm-cache.outputs.cache-hit != 'true'
run: npm ci
- name: Install Playwright browsers
run: npx playwright install chromium # Force browsers fresh installation since the ones in the cache can be out of date (browsers are released monthly).
- name: Run Unit Test
run: npm run test
env:
Expand Down

0 comments on commit 7eedf6e

Please sign in to comment.