2
mirror of https://github.com/pnpm/action-setup.git synced 2026-04-17 13:35:12 +00:00
Files
pnpm-action-setup/dist/index.js
Zoltan Kochan 188c8307ce fix: point pn to pnpm binary directly, not to @pnpm/exe/pn
pnpm self-update only replaces the pnpm binary — it does not update
other files in the @pnpm/exe package (setup.js, pn, pnpx, pnx all
remain from the v10 bootstrap). So @pnpm/exe/pn may not exist at all.

Instead of relying on @pnpm/exe/pn, create the aliases directly:
- pn → symlink to the pnpm binary
- pnpx/pnx → shell scripts that exec "pnpm dlx"

Also remove the setup.js call after self-update since it's no longer
needed and would run the v10 version which doesn't know about pn.
2026-03-26 18:58:55 +01:00

1.4 MiB