build: pin volta node version
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 19 Apr 2023 20:58:37 +0000 (22:58 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 19 Apr 2023 20:58:37 +0000 (22:58 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
package.json
ui/web/package.json

index 094574106464c1c1d0157fc321a1edbf73b3a97c..f714b4052a704dacc686572d2f225a99c817deda 100644 (file)
@@ -4,6 +4,9 @@
   "engines": {
     "node": ">=16.9.0"
   },
+  "volta": {
+    "node": "20.0.0"
+  },
   "repository": {
     "type": "git",
     "url": "https://github.com/sap/e-mobility-charging-stations-simulator.git"
index fdae3ba6be23b670f051390903fdbd13796ba702..a04382770c1ea40af83068c2f328cf8d839b81c0 100644 (file)
@@ -5,6 +5,9 @@
   "engines": {
     "node": ">=16.9.0"
   },
+  "volta": {
+    "node": "20.0.0"
+  },
   "scripts": {
     "preinstall": "npx only-allow pnpm",
     "start": "pnpm run build && node start.js",