action-setup/dist
oniani1 d2a862f169 fix: respect requested pnpm version when bootstrap differs
The bootstrap pnpm binary at PNPM_HOME shadows the self-updated
binary at PNPM_HOME/bin because addPath(pnpmHome) was called after
addPath(pnpmHome/bin), giving the bootstrap higher PATH precedence.

Swap the addPath order so the self-updated binary takes priority.
The bootstrap is invoked via absolute path, so this doesn't affect
the bootstrap step.

Also extract the version from the packageManager field and pass it
to self-update explicitly, instead of returning undefined and relying
on the bootstrap's auto-switching which can modify the lockfile.

Fixes #225, fixes #227, fixes #228
2026-04-16 00:22:17 +04:00
..
index.js fix: respect requested pnpm version when bootstrap differs 2026-04-16 00:22:17 +04:00