fix(e2e): reorder Playwright browser installation step to ensure proper caching
This commit is contained in:
6
.github/workflows/e2e-tests.yml
vendored
6
.github/workflows/e2e-tests.yml
vendored
@@ -237,12 +237,12 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Force Playwright browser install
|
||||
run: npx playwright install --with-deps --force
|
||||
|
||||
- name: Clean Playwright browser cache
|
||||
run: rm -rf ~/.cache/ms-playwright
|
||||
|
||||
- name: Force Playwright browser install
|
||||
run: npx playwright install --with-deps --force
|
||||
|
||||
- name: Cache Playwright browsers
|
||||
id: playwright-cache
|
||||
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5
|
||||
|
||||
Reference in New Issue
Block a user