From 5acf7d725e0a126099047a0b6595dbdad1cd45fd Mon Sep 17 00:00:00 2001 From: Wes Date: Tue, 5 Nov 2024 08:43:21 -0700 Subject: [PATCH] chore: only restore playwright cache on e2e (#3327) --- .github/actions/build-cache/action.yml | 8 -------- .github/workflows/ci.yml | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/actions/build-cache/action.yml b/.github/actions/build-cache/action.yml index 094dadda1..a6635d4a9 100644 --- a/.github/actions/build-cache/action.yml +++ b/.github/actions/build-cache/action.yml @@ -56,12 +56,4 @@ runs: key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-pnpm- - - name: Restore Playwright Browser Cache - id: cache-playwright - uses: actions/cache/restore@v4 - with: - path: ~/.cache/ms-playwright - key: ${{ runner.os }}-playwright-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-playwright- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d8a990d3..f11dab79e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -265,6 +265,14 @@ jobs: uses: cashapp/activate-hermit@v1.1.3 - name: Build Cache uses: ./.github/actions/build-cache + - name: Restore playwright browser cache + id: cache-playwright + uses: actions/cache/restore@v4 + with: + path: ~/.cache/ms-playwright + key: ${{ runner.os }}-playwright-${{ hashFiles('**/pnpm-lock.yaml') }} + restore-keys: | + ${{ runner.os }}-playwright- - name: Console pnpm install run: just pnpm-install - name: Build Language Plugins