From: Evan You Date: Mon, 14 Nov 2022 11:23:51 +0000 (+0800) Subject: ci: move chrome cache restore to before pnpm install X-Git-Tag: v3.2.46~53 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f3e4f038bf299794b2ca4750b4678074660113c8;p=thirdparty%2Fvuejs%2Fcore.git ci: move chrome cache restore to before pnpm install --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index daad5609d1..c811c0b821 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,6 +35,12 @@ jobs: steps: - 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 uses: pnpm/action-setup@v2 @@ -46,12 +52,6 @@ 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