Skip to content

Commit f3e4f03

Browse files
committed
ci: move chrome cache restore to before pnpm install
1 parent 7b59f2a commit f3e4f03

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ jobs:
3535
steps:
3636
- uses: actions/checkout@v3
3737

38+
- name: Setup cache for Chromium binary
39+
uses: actions/cache@v3
40+
with:
41+
path: ~/.cache/puppeteer/chrome
42+
key: chromium-${{ hashFiles('pnpm-lock.yaml') }}
43+
3844
- name: Install pnpm
3945
uses: pnpm/action-setup@v2
4046

@@ -46,12 +52,6 @@ jobs:
4652

4753
- run: pnpm install
4854

49-
- name: Setup cache for Chromium binary
50-
uses: actions/cache@v3
51-
with:
52-
path: ~/.cache/puppeteer/chrome
53-
key: chromium-${{ hashFiles('pnpm-lock.yaml') }}
54-
5555
- name: Run e2e tests
5656
run: pnpm run test-e2e
5757

0 commit comments

Comments
 (0)