Skip to content

Commit

Permalink
chore: Enable Turborepo cache for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
franky47 committed Oct 13, 2023
1 parent 73c120c commit 57b9a29
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
with:
node-version: lts/*
cache: pnpm
- uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
name: Turbo Cache
with:
path: node_modules/.cache/turbo
key: turbo-${{ github.sha }}
- name: Install dependencies
run: pnpm install
- name: Run integration tests
Expand Down Expand Up @@ -48,6 +53,8 @@ jobs:
with:
node-version: lts/*
cache: pnpm
# Note: we do not use an external Turbo cache for publishing
# to prevent against possible cache collision attacks.
- name: Install dependencies
run: pnpm install --ignore-scripts --frozen-lockfile
- name: Build package
Expand Down

0 comments on commit 57b9a29

Please sign in to comment.