feat(ci): improve cache usage

This commit is contained in:
Lucas Nogueira
2026-09-22 12:42:20 -03:00
parent a87a3c7d44
commit 413b177f81
9 changed files with 89 additions and 43 deletions
+1 -7
View File
@@ -158,19 +158,13 @@ jobs:
steps:
- uses: actions/checkout@v7
- name: Cache pnpm modules
uses: actions/cache@v6
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- uses: actions/setup-node@v7
with:
node-version: 'lts/*'
- uses: pnpm/action-setup@v6
with:
run_install: true
cache: true # the pnpm store, keyed by OS and lockfile hash and shared by every workflow
- name: build api
working-directory: plugins/${{ matrix.package }}