Repository navigation
build: update Node.js to v26 and pnpm to v12 - #39
Merged
Merged
Conversation
Pin Node.js 26.10.0 in `.tool-versions` and make every CI job read it. `engines` asks for Node.js 24, the runtime of the action, as a hint for contributors.
Pin pnpm 12.9.1 and ask CI for pnpm 12. Settings need no migration from pnpm 11, and the lockfile stays as it is.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The repository was developed on Node.js 24.17.0 and pnpm 11.9.0, and CI ran on Node.js 24 with pnpm 11.11.0. Node.js 26 is the latest release line and becomes an LTS on 2026-10-28, while the action itself keeps running on the
node24runtime ofaction.yml.pnpm 12 is the latest release, and its breaking changes leave the repository alone: pnpm 12 recognizes every setting of
pnpm-workspace.yaml, nothing passes--frozen-lockfile false, no dependency comes from git, andengineStrictis off. The lockfile stays as it is.What
.tool-versionspins Node.js 26.10.0, the latest 26, and pnpm 12.9.1, the version of thelatesttag. Everyactions/setup-nodestep reads Node.js throughnode-version-file, so a bump of the file moves local development and CI together, and everypnpm/action-setupstep asks for pnpm 12.engines.nodeasks for>=24, the runtime of the action, as a hint for contributors. The package is not published to npm, so nothing breaks.Notes
minimumReleaseAgehas applied since pnpm 11, so the move to 12 changes nothing about it, andminimumReleaseAgeExcludestays as it is.pnpm install --config.node-linker=hoisted, the way the release job runs it, lays the dependencies out flat on pnpm 12, andsrc/index.jsparses.lint-package-jsonreports only the missingkeywords, as it does onmain.