Browse Source

chore(ci): bump node to 24 (Active LTS Krypton) and pin .nvmrc/engines (#542) (#560)

go.yml/dist.yml/release.yml setup-node to 24; add .nvmrc (24) and app engines (>=24 <25) so local matches CI.

Co-authored-by: gnacho <hnacho@proton.me>
Nacho 3 months ago
parent
commit
477b276ac7
5 changed files with 9 additions and 5 deletions
  1. 1 1
      .github/workflows/dist.yml
  2. 2 2
      .github/workflows/go.yml
  3. 1 1
      .github/workflows/release.yml
  4. 1 0
      .nvmrc
  5. 4 1
      app/package.json

+ 1 - 1
.github/workflows/dist.yml

@@ -22,7 +22,7 @@ jobs:
 
       - uses: actions/setup-node@v4
         with:
-          node-version: 22
+          node-version: 24
           cache: npm
           cache-dependency-path: app/package-lock.json
 

+ 2 - 2
.github/workflows/go.yml

@@ -22,7 +22,7 @@ jobs:
       - uses: actions/checkout@v4
       - uses: actions/setup-node@v4
         with:
-          node-version: 22
+          node-version: 24
           cache: npm
           cache-dependency-path: app/package-lock.json
       - name: ESLint (app)
@@ -50,7 +50,7 @@ jobs:
 
       - uses: actions/setup-node@v4
         with:
-          node-version: 22
+          node-version: 24
           cache: npm
           cache-dependency-path: app/package-lock.json
 

+ 1 - 1
.github/workflows/release.yml

@@ -22,7 +22,7 @@ jobs:
 
       - uses: actions/setup-node@v4
         with:
-          node-version: 22
+          node-version: 24
           cache: npm
           cache-dependency-path: app/package-lock.json
 

+ 1 - 0
.nvmrc

@@ -0,0 +1 @@
+24

+ 4 - 1
app/package.json

@@ -88,5 +88,8 @@
   },
   "allowScripts": {
     "esbuild@0.28.1": true
+  },
+  "engines": {
+    "node": ">=24 <25"
   }
-}
+}