ci: cache chromium binary

This commit is contained in:
Evan You 2022-11-14 18:47:08 +08:00
parent 6fdea68e96
commit bcc76e9395
1 changed files with 7 additions and 1 deletions

View 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