Skip to content

CI: bump Node to 22 for package-managers job - #156

Merged
ryukzak merged 1 commit into
mainfrom
ci-fix-pnpm-node-version
May 12, 2026
Merged

CI: bump Node to 22 for package-managers job#156
ryukzak merged 1 commit into
mainfrom
ci-fix-pnpm-node-version

Conversation

@ryukzak

@ryukzak ryukzak commented May 12, 2026

Copy link
Copy Markdown
Collaborator
  • Bump Node from 20 to 22 in the package-managers matrix job in .github/workflows/ci.yml.
  • The job pulls pnpm@latest via pnpm/action-setup@v5, which now resolves to pnpm 11. pnpm 11 requires Node >= 22.13 because it imports node:sqlite, a builtin that does not exist in Node 20.
  • Symptom on main and on PR TypeSchema: fix test fixture pollution causing platform-dependent snapshot failures #155: package-managers (pnpm) fails before installing the tarball with ERR_UNKNOWN_BUILTIN_MODULE: node:sqlite. The npm and bun variants of the same matrix pass.
  • Scope intentionally minimal: release.yml and the rest of the Node-20 references are unchanged.

pnpm 11 (pulled by `version: latest`) requires Node >= 22.13 because
it imports `node:sqlite`. The job was crashing on Node 20 with
`ERR_UNKNOWN_BUILTIN_MODULE: node:sqlite` before installing the
tarball.
@ryukzak
ryukzak merged commit ce0f159 into main May 12, 2026
37 checks passed
@ryukzak
ryukzak deleted the ci-fix-pnpm-node-version branch May 12, 2026 07:35
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