Skip to content

build: update Node.js to v26 and pnpm to v12 - #39

Merged
dangreen merged 2 commits into
mainfrom
build/node-26-pnpm-12
Oct 6, 2026
Merged

dangreen merged 2 commits into
mainfrom
build/node-26-pnpm-12

Conversation

@dangreen

@dangreen dangreen commented Oct 6, 2026

Copy link
Copy Markdown
Member

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 node24 runtime of action.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, and engineStrict is off. The lockfile stays as it is.

What

  • .tool-versions pins Node.js 26.10.0, the latest 26, and pnpm 12.9.1, the version of the latest tag. Every actions/setup-node step reads Node.js through node-version-file, so a bump of the file moves local development and CI together, and every pnpm/action-setup step asks for pnpm 12.
  • engines.node asks for >=24, the runtime of the action, as a hint for contributors. The package is not published to npm, so nothing breaks.

Notes

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.
@dangreen
dangreen merged commit 600c5c3 into main Oct 6, 2026
@dangreen
dangreen deleted the build/node-26-pnpm-12 branch October 6, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant