mirror of
https://github.com/pnpm/pnpm.git
synced 2026-07-19 04:02:32 -04:00
* ci: build pnpr per-OS so Linux tests don't wait on the Windows build The pnpr binaries were built by a single `build-pnpr` matrix job spanning `[ubuntu-latest, windows-latest]`. A `needs` edge can only target a whole job, never an individual matrix leg, so every consumer of `build-pnpr` (the ubuntu smoke/test jobs and the windows test shards) blocked until both legs finished. The Linux tests therefore waited for the slower Windows pnpr build even though they only consume the Linux binary artifact. Extract the build into a per-OS reusable workflow (`build-pnpr.yml`) and call it twice from `ci.yml` as `build-pnpr-linux` and `build-pnpr-windows`. The ubuntu test jobs now gate only on `build-pnpr-linux` and the windows shards only on `build-pnpr-windows`, so neither platform waits on the other's build. * ci: trigger TS CI when build-pnpr.yml changes Add the new reusable .github/workflows/build-pnpr.yml to the dorny/paths-filter ts: list so a PR touching only that workflow still runs the pnpr build and TS test jobs it gates, instead of being skipped.