mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-25 20:25:21 +00:00
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
|
exit 0
|
||||||
fi
|
fi
|
||||||
echo "stale=false" >> "$GITHUB_OUTPUT"
|
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
|
- uses: actions/setup-node@v5
|
||||||
if: steps.tip.outputs.stale != 'true'
|
if: steps.tip.outputs.stale != 'true'
|
||||||
with:
|
with:
|
||||||
node-version: 24
|
node-version: 24
|
||||||
|
package-manager-cache: false
|
||||||
- name: Require Vercel credentials
|
- name: Require Vercel credentials
|
||||||
if: steps.tip.outputs.stale != 'true'
|
if: steps.tip.outputs.stale != 'true'
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue