Skip to content

Commit

Permalink
ci: skip chromium download in jobs that do not need it
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Nov 14, 2022
1 parent 2913bbf commit 7b59f2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -25,7 +25,7 @@ jobs:
node-version: 18
cache: 'pnpm'

- run: pnpm install
- run: PUPPETEER_SKIP_DOWNLOAD=1 pnpm install

- name: Run unit tests
run: pnpm run test-unit
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
node-version: 18
cache: 'pnpm'

- run: pnpm install
- run: PUPPETEER_SKIP_DOWNLOAD=1 pnpm install

- name: Run eslint
run: pnpm run lint
Expand All @@ -96,7 +96,7 @@ jobs:
node-version: 18
cache: 'pnpm'

- run: pnpm install
- run: PUPPETEER_SKIP_DOWNLOAD=1 pnpm install
- run: pnpm run size

# - name: Check build size
Expand Down

0 comments on commit 7b59f2a

Please sign in to comment.