action-setup/src
oniani1 71c92474e7
fix: pnpm self-update binary shadowed by bootstrap on PATH (#230)
Problem
pnpm self-update installs the target version to PNPM_HOME/bin/pnpm, but the bootstrap binary at PNPM_HOME/pnpm has higher PATH precedence because addPath(pnpmHome) was called after addPath(pnpmHome/bin). @actions/core's addPath prepends, so the later call wins — the bootstrap version shadows the self-updated binary.

Fix
Swap the addPath call order so PNPM_HOME/bin (where self-update puts the target binary) has higher PATH precedence. The bootstrap pnpm is invoked via absolute path, so this doesn't affect the bootstrap step.
2026-04-18 15:00:23 +02:00
..
cache-restore feat: store caching (#188) 2025-12-07 22:16:49 +01:00
cache-save feat: store caching (#188) 2025-12-07 22:16:49 +01:00
inputs refactor: remove star imports (#196) 2025-12-10 13:14:52 +01:00
install-pnpm fix: pnpm self-update binary shadowed by bootstrap on PATH (#230) 2026-04-18 15:00:23 +02:00
outputs fix: Windows standalone mode — bypass broken npm shims (#217) 2026-03-27 20:42:10 +01:00
pnpm-install fmt 2022-02-23 10:07:15 +07:00
pnpm-store-prune fmt 2022-02-23 10:07:15 +07:00
utils feat!: replace bundled pnpm binary with npm + lockfile bootstrap (#212) 2026-03-21 14:02:31 +01:00
index.ts feat: store caching (#188) 2025-12-07 22:16:49 +01:00