Repository navigation
build: move Essentials UI to patched Node 24 runtime - #11
Merged
Merged
Conversation
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.
The Essentials UI image and Docker build workflow still used Node 18.20.2. Pin the Docker, CI and local development runtime to Node 24.22.1, and require the patched Node 24 line in package metadata so Vercel selects the same major runtime. The staging action skips its own Node setup when
script_runis false, so set up the pinned runtime explicitly before invoking it.PRs now run the existing 32 Jest tests, production build and Docker build without registry login or image publication. Existing main-branch Docker and Vercel publication paths remain intact. Dependency versions in the lockfile are unchanged.
Validation on Node v24.22.1 / npm 11.19.1:
npm ci --no-audit --no-fundandnpm ci --dry-run --no-audit --no-fund: passed.npm test -- --runInBand: 4 suites / 32 tests passed.NODE_OPTIONS=--max-old-space-size=4096 NEXT_TELEMETRY_DISABLED=1 npm run build: passed.GET /api/liveness: HTTP 200.actionlint .github/workflows/deploy-docker.yml .github/workflows/deploy-stg.yml, Prettier on changed JSON/YAML and source-only gitleaks: passed.CI=true npm run lint: existing repository gap; no ESLint configuration is present, so Next.js requests interactive initialization and exits 1. The production build's TypeScript checks passed.Local Docker image construction and Vercel deployment are not claimed; the PR build verifies the Linux image without publishing it. This PR is not a production deployment.
Security baseline: https://nodejs.org/en/blog/vulnerability/october-2026-security-releases
Vercel runtime selection: https://vercel.com/docs/functions/runtimes/node-js/node-js-versions