mirror of
https://github.com/pnpm/pnpm.git
synced 2026-07-19 12:12:34 -04:00
Earlier attempts to drive the suite under the runner's own Node (or a separately-installed Node from actions/setup-node) all tripped jest's "module is already linked" VM-modules regression. The working pattern test.yml uses for the standard e2e job is to pin a runtime through pnpm/setup and run jest via `pn` so it inherits that Node — the suite already passes there on 22.13.0. PNPM_E2E_BIN points at pacquet, so `dist/pnpm.mjs` is never read; we can skip the bundle step (and with it the `pnx node@runtime:24.6.0` collision) and run only `tsgo --build` to produce the lib/ outputs the tests import from. Written by an agent (Claude Code, claude-opus-4-7).