ci: skip chromium download in jobs that do not need it

This commit is contained in:
Evan You 2022-11-14 19:21:58 +08:00
parent 2913bbfdee
commit 7b59f2a012
1 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ jobs:
node-version: 18 node-version: 18
cache: 'pnpm' cache: 'pnpm'
- run: pnpm install - run: PUPPETEER_SKIP_DOWNLOAD=1 pnpm install
- name: Run unit tests - name: Run unit tests
run: pnpm run test-unit run: pnpm run test-unit
@ -69,7 +69,7 @@ jobs:
node-version: 18 node-version: 18
cache: 'pnpm' cache: 'pnpm'
- run: pnpm install - run: PUPPETEER_SKIP_DOWNLOAD=1 pnpm install
- name: Run eslint - name: Run eslint
run: pnpm run lint run: pnpm run lint
@ -96,7 +96,7 @@ jobs:
node-version: 18 node-version: 18
cache: 'pnpm' cache: 'pnpm'
- run: pnpm install - run: PUPPETEER_SKIP_DOWNLOAD=1 pnpm install
- run: pnpm run size - run: pnpm run size
# - name: Check build size # - name: Check build size