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
+4 -4
View File
@@ -2,7 +2,7 @@ name: CI / CD Pipeline
on:
push:
branches: [ main, develop ]
branches: [main, develop]
pull_request:
workflow_dispatch:
@@ -25,7 +25,7 @@ jobs:
- name: ⚙️ Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 24.15.0
# ลบ cache: "pnpm" ออก — ใช้ volume mount บน runner แทน
# ── [2] ชี้ store ไปที่ volume ที่ mount ไว้ ─────────────
@@ -68,10 +68,10 @@ jobs:
if: github.ref == 'refs/heads/main'
runs-on: self-hosted
steps:
- name: " Checkout"
- name: ' Checkout'
uses: actions/checkout@v4
- name: "🚀 Deploy to QNAP"
- name: '🚀 Deploy to QNAP'
run: |
mkdir -p ~/.ssh
echo "${{ secrets.SSH_KEY }}" > ~/.ssh/id_rsa