Przeglądaj źródła

bump to node v20 (#4678)

ianedwards 2 lat temu
rodzic
commit
b2d0647af0

+ 1 - 1
.github/actions/build-npm/action.yml

@@ -12,7 +12,7 @@ runs:
     - name: Setup Node
       uses: actions/setup-node@v3
       with:
-        node-version: 16
+        node-version: 20
     - name: Install NPM Dependencies
       shell: bash
       run: |

+ 1 - 1
.github/workflows/pr_push_checks_node.yaml

@@ -31,7 +31,7 @@ jobs:
         uses: actions/setup-node@v3
         if: steps.changed-files.outputs.any_changed == 'true'
         with:
-          node-version: 16
+          node-version: 20
       - name: Setup NPM
         if: steps.changed-files.outputs.any_changed == 'true'
         working-directory: dashboard

+ 2 - 2
dashboard/package.json

@@ -91,8 +91,8 @@
     "zod": "^3.20.2"
   },
   "engines": {
-    "node": ">=16 <17",
-    "npm": "9.7.2"
+    "node": ">=20 <21",
+    "npm": "10.5.2"
   },
   "scripts": {
     "test": "jest",