mirror of
https://gh.hjkl01.cn/https://github.com/pnpm/action-setup
synced 2026-05-30 12:35:22 +08:00
The .cmd wrapper approach didn't work because CMD doesn't properly wait for extensionless PE binaries. Instead, copy the actual .exe (and .cmd for pnpx) from @pnpm/exe into .bin/ so PATHEXT finds pnpm.exe directly, bypassing npm's broken node-wrapping shim.