From: Evan You Date: Mon, 14 Nov 2022 10:47:08 +0000 (+0800) Subject: ci: cache chromium binary X-Git-Tag: v3.2.46~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcc76e939554ff2e78382b487428ce00acea0588;p=thirdparty%2Fvuejs%2Fcore.git ci: cache chromium binary --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 63fadbb2dc..3b59ecfede 100644 --- a/.github/workflows/ci.yml +++ b/.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