Fix pnpm cache: use explicit /pnpm-store path and env vars
Some checks are pending
CI / build (push) Blocked by required conditions
CI / changes (push) Successful in 15s
CI / lint-and-test (push) Successful in 21s

Mount volume at /pnpm-store and set PNPM_STORE_DIR and
COREPACK_HOME env vars in job containers so pnpm and corepack
both write to the cached volume. Corepack cache avoids
re-downloading pnpm binary each run.
This commit is contained in:
Julia McGhee
2026-03-21 16:52:46 +00:00
parent b6bd2dbae0
commit ab52874970

View File

@@ -11,6 +11,6 @@ data:
capacity: 1 capacity: 1
timeout: 1h timeout: 1h
container: container:
options: "-v pnpm-store:/root/.local/share/pnpm/store" options: "-v pnpm-store:/pnpm-store -e PNPM_STORE_DIR=/pnpm-store -e COREPACK_HOME=/pnpm-store/.corepack"
valid_volumes: valid_volumes:
- "pnpm-store" - "pnpm-store"