Disable cache for playwright browsers
This commit is contained in:
parent
b58960e54c
commit
d69fe9750b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue