]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
ci: cache chromium binary
authorEvan You <yyx990803@gmail.com>
Mon, 14 Nov 2022 10:47:08 +0000 (18:47 +0800)
committerEvan You <yyx990803@gmail.com>
Mon, 14 Nov 2022 10:47:08 +0000 (18:47 +0800)
.github/workflows/ci.yml

index 63fadbb2dcd81a3b7d2074811bb95a228e7c3741..3b59ecfede4192777219f36852978c57cbfd137b 100644 (file)
@@ -46,6 +46,12 @@ jobs:
 
       - run: pnpm install
 
+      - name: Setup cache for Chromium binary
+        uses: actions/cache@v3
+        with:
+          path: ~/.cache/puppeteer/chrome
+          key: chromium-${{ hashFiles('pnpm-lock.yaml') }}
+
       - name: Run e2e tests
         run: pnpm run test-e2e
 
@@ -69,7 +75,7 @@ jobs:
         run: pnpm run lint
 
       # - name: Run prettier
-        # run: pnpm run format-check
+      # run: pnpm run format-check
 
       - name: Run type declaration tests
         run: pnpm run test-dts