From 6b95982a6cfb5597adf0c467d4503fe2974c9d79 Mon Sep 17 00:00:00 2001 From: Cedric van Putten Date: Tue, 19 Sep 2023 10:35:45 +0200 Subject: [PATCH] chore: test adding build cache after installing --- .github/actions/setup-cache/action.yml | 7 +++++-- .github/workflows/packages.yml | 3 --- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/setup-cache/action.yml b/.github/actions/setup-cache/action.yml index 6a5bd983..19122e84 100644 --- a/.github/actions/setup-cache/action.yml +++ b/.github/actions/setup-cache/action.yml @@ -17,12 +17,15 @@ runs: restore-keys: | yarn-TEST_1-${{ runner.os }}- + - name: 📦 Install monorepo dependencies + run: yarn install --frozen-lockfile + - name: ♻️ Restore build cache uses: actions/cache@v3 with: - key: turbo-TEST_3-${{ runner.os }}-${{ github.sha }} + key: turbo-TEST_4-${{ runner.os }}-${{ github.sha }} restore-keys: | - turbo-TEST_3-${{ runner.os }}- + turbo-TEST_4-${{ runner.os }}- path: | node_modules/.cache/turbo packages/*/.turbo diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 306184c7..f27cd92a 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -60,9 +60,6 @@ jobs: - name: 🏗 Setup cache uses: ./.github/actions/setup-cache - - name: 📦 Install monorepo dependencies - run: yarn install --frozen-lockfile - # When coupled within the monorepo, make sure to build all packages related to the tested one - name: 🛠 Build dependencies if: ${{ !matrix.monorepo-detached }}