]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
ci: skip chromium download in jobs that do not need it
authorEvan You <yyx990803@gmail.com>
Mon, 14 Nov 2022 11:21:58 +0000 (19:21 +0800)
committerEvan You <yyx990803@gmail.com>
Mon, 14 Nov 2022 11:21:58 +0000 (19:21 +0800)
.github/workflows/ci.yml

index 3b59ecfede4192777219f36852978c57cbfd137b..daad5609d124054f1381147d02751e903a1c3467 100644 (file)
@@ -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
@@ -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
@@ -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