Skip to content

Commit a7bf1c3

Browse files
committed
Fix cache maybe
1 parent cb89f35 commit a7bf1c3

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/pending-changes.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,17 @@ jobs:
1313
- name: Install dependencies
1414
run: pnpm install --frozen-lockfile --recursive
1515

16-
- name: Install Playwright browsers and dependencies
16+
- name: Cache Puppeteer browsers
17+
id: playwright-cache
18+
uses: actions/cache@v4
19+
with:
20+
path: /home/runner/.cache/puppeteer
21+
key: ${{ runner.os }}-playwright-${{ hashFiles('**/pnpm-lock.yaml') }}
22+
restore-keys: |
23+
${{ runner.os }}-playwright-
24+
25+
- name: Install Puppeteer browsers and dependencies
26+
if: steps.playwright-cache.outputs.cache-hit != 'true'
1727
run: pnpm dlx puppeteer browsers install chrome
1828

1929
- uses: nickcharlton/diff-check@main

0 commit comments

Comments
 (0)