mirror of https://github.com/vuejs/core.git
ci: move chrome cache restore to before pnpm install
This commit is contained in:
parent
7b59f2a012
commit
f3e4f038bf
|
@ -35,6 +35,12 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Setup cache for Chromium binary
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: ~/.cache/puppeteer/chrome
|
||||||
|
key: chromium-${{ hashFiles('pnpm-lock.yaml') }}
|
||||||
|
|
||||||
- name: Install pnpm
|
- name: Install pnpm
|
||||||
uses: pnpm/action-setup@v2
|
uses: pnpm/action-setup@v2
|
||||||
|
|
||||||
|
@ -46,12 +52,6 @@ jobs:
|
||||||
|
|
||||||
- run: pnpm install
|
- 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
|
- name: Run e2e tests
|
||||||
run: pnpm run test-e2e
|
run: pnpm run test-e2e
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue