Skip to content

Commit

Permalink
chore: test adding build cache after installing
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric committed Sep 19, 2023
1 parent f1bde80 commit 6b95982
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .github/actions/setup-cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 0 additions & 3 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 6b95982

Please sign in to comment.