CI: try pnpm/setup-action own cache

This commit is contained in:
SukkaW
2026-07-22 00:19:59 +08:00
parent fd663ef538
commit 36d020f0ed
3 changed files with 7 additions and 4 deletions

View File

@@ -72,10 +72,11 @@ jobs:
- uses: pnpm/action-setup@v6
with:
run_install: false
cache: true
- uses: actions/setup-node@v6
with:
node-version-file: ".node-version"
cache: "pnpm"
package-manager-cache: false
- run: pnpm config set --location=global minimumReleaseAge 0
- run: pnpm install
# Foreground pnpm + Node.js setup complete, ensure previous build and cache.db are ready