Skip to content

Commit 7b59f2a

Browse files
committed
ci: skip chromium download in jobs that do not need it
1 parent 2913bbf commit 7b59f2a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
node-version: 18
2626
cache: 'pnpm'
2727

28-
- run: pnpm install
28+
- run: PUPPETEER_SKIP_DOWNLOAD=1 pnpm install
2929

3030
- name: Run unit tests
3131
run: pnpm run test-unit
@@ -69,7 +69,7 @@ jobs:
6969
node-version: 18
7070
cache: 'pnpm'
7171

72-
- run: pnpm install
72+
- run: PUPPETEER_SKIP_DOWNLOAD=1 pnpm install
7373

7474
- name: Run eslint
7575
run: pnpm run lint
@@ -96,7 +96,7 @@ jobs:
9696
node-version: 18
9797
cache: 'pnpm'
9898

99-
- run: pnpm install
99+
- run: PUPPETEER_SKIP_DOWNLOAD=1 pnpm install
100100
- run: pnpm run size
101101

102102
# - name: Check build size

0 commit comments

Comments
 (0)