Disable cache for playwright browsers

This commit is contained in:
Arnaud 2024-10-11 19:08:43 +02:00
parent b58960e54c
commit d69fe9750b
No known key found for this signature in database
GPG Key ID: 69D6CE281FCAE663
1 changed files with 10 additions and 7 deletions

View File

@ -112,14 +112,17 @@ jobs:
- name: Build
run: npm run build
- uses: actions/cache@v4
id: playwright-browsers-cache
with:
path: ~/.cache/ms-playwright
key: ${{ runner.os }}-node-${{ hashFiles('**/playwright.config.ts') }}
# - uses: actions/cache@v4
# id: playwright-browsers-cache
# with:
# path: ~/.cache/ms-playwright
# key: ${{ runner.os }}-node-${{ hashFiles('**/playwright.config.ts') }}
- if: steps.playwright-browsers-cache.outputs.cache-hit != 'true'
name: Install Playwright Browsers
# - if: steps.playwright-browsers-cache.outputs.cache-hit != 'true'
# name: Install Playwright Browsers
# run: npx playwright install --with-deps
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests