Skip to content

Commit

Permalink
chore: use turbo cache
Browse files Browse the repository at this point in the history
  • Loading branch information
nperez0111 committed Jan 10, 2025
1 parent 06c90ce commit beab9bf
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,17 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'

- name: Load cached dependencies
- name: Load turbo cache
uses: actions/[email protected]
id: cache
id: turbo-cache
with:
path: |
**/node_modules
**/.turbo
/home/runner/.cache/Cypress
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }}
.turbo
**/.eslintcache
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-${{ github.sha }}
${{ runner.os }}-turbo-
- name: Install Dependencies
run: pnpm i
Expand Down

0 comments on commit beab9bf

Please sign in to comment.