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:
parent
f20fca0506
commit
07c9b9c571
1 changed files with 3 additions and 0 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -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: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue