Skip to content

ci: bump node 20 -> 24 to match lockfile-generating environments - #223

Merged
ShotaroKataoka merged 2 commits into
mainfrom
ci/node-24
Jul 28, 2026
Merged

ci: bump node 20 -> 24 to match lockfile-generating environments#223
ShotaroKataoka merged 2 commits into
mainfrom
ci/node-24

Conversation

@ShotaroKataoka

Copy link
Copy Markdown
Contributor

Dependabot and local dev
generate package-lock.json with npm 11, whose lockfiles fail npm 10.8.2's npm ci sync check (missing transitive
entries like @swc/helpers / @emnapi/*). This broke every web-ui deps PR (#213, #214 required manual lockfile
regeneration).

npm lockfile compatibility is backward-only — the verifying side (CI) must run npm >= the generating side (Dependabot,
contributors). Node 24 (npm 11) satisfies Next.js 16 (>=20.9) and CDK requirements.

Validation

Dependabot and local dev generate package-lock.json with npm 11,
whose lockfiles fail npm 10.8.2's `npm ci` sync check (missing
transitive entries like @swc/helpers / @emnapi/*) — this broke every
web-ui deps PR (#213, #214). npm's lockfile compat is backward-only,
so the verifying side must run npm >= the generating side. Node 24
(npm 11) satisfies Next.js 16 (>=20.9) and CDK requirements.
@ShotaroKataoka ShotaroKataoka added the blog:skip ブログ対象外 label Jul 28, 2026
@ShotaroKataoka
ShotaroKataoka merged commit e373557 into main Jul 28, 2026
12 checks passed
@ShotaroKataoka
ShotaroKataoka deleted the ci/node-24 branch July 28, 2026 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blog:skip ブログ対象外

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant