260505:1218 chore(node): upgrade to v24.15.0 LTS
CI / CD Pipeline / build (push) Successful in 8m9s
CI / CD Pipeline / deploy (push) Successful in 11m32s

- Update Docker base images: node:22-alpine → node:24-alpine
- Add engines.node >=24.0.0 to package.json files
- Create .nvmrc files with 24.15.0
- Update CI workflow to use node-version: 24.15.0
- Fix jest-e2e.json for uuid@13 ES Module compatibility

Validation:
- Backend unit tests: 340/340 passed
- Frontend unit tests: 137/137 passed
- Frontend build: successful (39 static pages)
This commit is contained in:
admin
2026-05-05 12:18:05 +07:00
parent 3575f3073b
commit 008f0fd7ab
14 changed files with 1079 additions and 10 deletions
+1
View File
@@ -0,0 +1 @@
24.15.0
+3 -3
View File
@@ -10,7 +10,7 @@
# =========================
# Stage 1: Install Dependencies
# =========================
FROM node:22-alpine AS deps
FROM node:24-alpine AS deps
RUN corepack enable && corepack prepare pnpm@10.32.1 --activate
@@ -26,7 +26,7 @@ RUN pnpm install --frozen-lockfile --filter backend...
# =========================
# Stage 2: Build Application
# =========================
FROM node:22-alpine AS build
FROM node:24-alpine AS build
RUN corepack enable && corepack prepare pnpm@10.32.1 --activate
@@ -62,7 +62,7 @@ RUN find /app/backend-prod/node_modules -name "*.md" -delete \
# =========================
# Stage 3: Production Runtime
# =========================
FROM node:22-alpine AS production
FROM node:24-alpine AS production
# Install curl for healthcheck
RUN apk add --no-cache curl
+3
View File
@@ -2,6 +2,9 @@
"name": "backend",
"version": "1.8.1",
"packageManager": "pnpm@10.32.1+sha512.a706938f0e89ac1456b6563eab4edf1d1faf3368d1191fc5c59790e96dc918e4456ab2e67d613de1043d2e8c81f87303e6b40d4ffeca9df15ef1ad567348f2be",
"engines": {
"node": ">=24.0.0"
},
"description": "<p align=\"center\">\r <a href=\"http://nestjs.com/\" target=\"blank\"><img src=\"https://nestjs.com/img/logo-small.svg\" width=\"120\" alt=\"Nest Logo\" /></a>\r </p>",
"author": "",
"private": true,
+1
View File
@@ -14,6 +14,7 @@
"^@database/(.*)$": "<rootDir>/src/database/$1",
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"transformIgnorePatterns": ["node_modules/.pnpm/(?!uuid)"],
"setupFilesAfterEnv": ["<rootDir>/test/jest-e2e.setup.ts"],
"testTimeout": 60000,
"maxWorkers": 1,