Explorar o código

ci: cache chromium binary

Evan You %!s(int64=3) %!d(string=hai) anos
pai
achega
bcc76e9395
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  1. 7 1
      .github/workflows/ci.yml

+ 7 - 1
.github/workflows/ci.yml

@@ -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