Summary
The project currently uses Node.js 18 (v18.8.0), which reached end-of-life in April 2025. Upgrading to Node.js 24 (current LTS) will bring security patches, performance improvements, and access to newer language/runtime features.
Files to update
| File | Current | Target |
|---|
.nvmrc | v18.8.0 | v24.x.x (latest 24 LTS) |
Dockerfile | node:18-alpine3.16 | node:24-alpine |
Dockerfile.railwayapp | node:18-alpine3.16 | node:24-alpine |
Dockerfile.test | node:18-alpine3.16 | node:24-alpine |
CI workflows (checks.yml, release.yml) use node-version-file: .nvmrc and will pick up the change automatically.
Acceptance criteria
Summary
The project currently uses Node.js 18 (
v18.8.0), which reached end-of-life in April 2025. Upgrading to Node.js 24 (current LTS) will bring security patches, performance improvements, and access to newer language/runtime features.Files to update
.nvmrcv18.8.0v24.x.x(latest 24 LTS)Dockerfilenode:18-alpine3.16node:24-alpineDockerfile.railwayappnode:18-alpine3.16node:24-alpineDockerfile.testnode:18-alpine3.16node:24-alpineAcceptance criteria
.nvmrcupdated to latest Node 24 LTS patch versionnode:24-alpine