Skip to content

chore(ci): bump CI Node to 24 LTS + sync lockfile for npm 11 - #98

Open
seanspeaks wants to merge 1 commit into
nextfrom
chore/node-20-and-lockfile-sync
Open

chore(ci): bump CI Node to 24 LTS + sync lockfile for npm 11#98
seanspeaks wants to merge 1 commit into
nextfrom
chore/node-20-and-lockfile-sync

Conversation

@seanspeaks

@seanspeaks seanspeaks commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

What & why

Move CI onto the current Active LTS line (Node 24).

  • .node-version: 16.15.0 (long-stale) → 24
  • .github/workflows/release.yml: setup-node node-version: 1824
  • package-lock.json: regenerated under npm 11

The lockfile part is required, not optional. Node 24 ships npm 11, whose npm ci is stricter than npm 10 and rejected next's current lockfile with EUSAGE: Missing encoding@0.1.13 / iconv-lite@0.6.3 from lock file (confirmed by a failing Node-24 run). Regenerating the lockfile with npm 11 (npm install --package-lock-only) adds the missing entries and prunes some redundant optional/peer transitive dev-dep nodes. Verified locally: npm@11 ci --dry-run exits 0, and all six packages/v1-ready/* workspace packages remain intact.

engines.node (>=18) already permits 24, so it's left unchanged.

🤖 Generated with Claude Code


Generated by Claude Code

@seanspeaks
seanspeaks force-pushed the chore/node-20-and-lockfile-sync branch from a78b330 to adb185a Compare August 20, 2026 01:02
@seanspeaks seanspeaks changed the title chore: bump CI Node to 20 + sync package-lock chore(ci): bump CI Node to 24 LTS Aug 20, 2026
@seanspeaks
seanspeaks force-pushed the chore/node-20-and-lockfile-sync branch from adb185a to f13088e Compare August 20, 2026 01:13
@seanspeaks seanspeaks changed the title chore(ci): bump CI Node to 24 LTS chore(ci): bump CI Node to 22 LTS Aug 20, 2026
Move CI onto the current Active LTS line (Node 24). Node 20 reached EOL on
2026-04-30 and `.node-version` was pinned to the long-stale 16.15.0.

Node 24 ships npm 11, whose `npm ci` is stricter than npm 10 and rejected
`next`'s lockfile (EUSAGE: "Missing encoding@0.1.13 / iconv-lite@0.6.3 from lock
file"). Regenerated `package-lock.json` with npm 11 (`npm install
--package-lock-only`) so `npm ci` is clean on Node 24 (verified: `npm@11 ci
--dry-run` exits 0). The regen adds the missing encoding/iconv-lite entries and
prunes some redundant optional/peer transitive dev-dep nodes; all six v1-ready
workspace packages remain intact.

- `.node-version`: 16.15.0 → 24
- `.github/workflows/release.yml`: setup-node 18 → 24
- `package-lock.json`: regenerated under npm 11

`engines.node` (`>=18`) already permits 24, so it's unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JDh45c1vm91ySYtvVv9Z65
@seanspeaks
seanspeaks force-pushed the chore/node-20-and-lockfile-sync branch from f13088e to a185929 Compare August 20, 2026 02:53
@seanspeaks seanspeaks changed the title chore(ci): bump CI Node to 22 LTS chore(ci): bump CI Node to 24 LTS + sync lockfile for npm 11 Aug 20, 2026
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