fix(ci): disable pnpm cache on deploy cooldown setup-node

OPS11 added an early setup-node@v5 before pnpm/action-setup for the
cooldown script. setup-node v5 defaults package-manager-cache to true
and tries to invoke pnpm from package.json, which is not on PATH yet —
deploy failed with "Unable to locate executable file: pnpm".

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
This commit is contained in:
Cursor Agent 2026-08-01 14:04:12 +00:00
parent f20fca0506
commit 07c9b9c571
No known key found for this signature in database

View file

@ -193,10 +193,13 @@ jobs:
exit 0
fi
echo "stale=false" >> "$GITHUB_OUTPUT"
# Cooldown script is plain Node — no pnpm. Disable package-manager-cache
# here: setup-node@v5 defaults to true and looks for pnpm before action-setup.
- uses: actions/setup-node@v5
if: steps.tip.outputs.stale != 'true'
with:
node-version: 24
package-manager-cache: false
- name: Require Vercel credentials
if: steps.tip.outputs.stale != 'true'
run: |