Skip to content

Commit 5d2ff3f

Browse files
committed
Support node 22
1 parent c538039 commit 5d2ff3f

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v4
1515
- uses: actions/setup-node@v4
1616
with:
17-
node-version: 16
17+
node-version: 22
1818
- uses: actions/cache@v4
1919
with:
2020
path: ~/.npm

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v4
1111
- uses: actions/setup-node@v4
1212
with:
13-
node-version: 16
13+
node-version: 22
1414
- uses: actions/cache@v4
1515
with:
1616
path: ~/.npm

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@
1212
},
1313
"description": "Dashboard for HERO robot",
1414
"scripts": {
15-
"serve": "vue-cli-service serve",
16-
"build": "vue-cli-service build",
17-
"test": "playwright test",
18-
"lint": "vue-cli-service lint",
15+
"serve": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service serve",
16+
"build": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service build",
17+
"test": "NODE_OPTIONS=--openssl-legacy-provider playwright test",
18+
"lint": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service lint",
1919
"preelectron:build": "npm run lint && npm run electron:generate-icons",
20-
"electron:build": "vue-cli-service electron:build --publish=never",
21-
"electron:serve": "vue-cli-service electron:serve localhost",
22-
"electron:generate-icons": "electron-icon-builder --input=./public/icon.png --output=build --flatten",
23-
"postinstall": "electron-builder install-app-deps",
24-
"postuninstall": "electron-builder install-app-deps",
20+
"electron:build": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service electron:build --publish=never",
21+
"electron:serve": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service electron:serve localhost",
22+
"electron:generate-icons": "NODE_OPTIONS=--openssl-legacy-provider electron-icon-builder --input=./public/icon.png --output=build --flatten",
23+
"postinstall": "NODE_OPTIONS=--openssl-legacy-provider electron-builder install-app-deps",
24+
"postuninstall": "NODE_OPTIONS=--openssl-legacy-provider electron-builder install-app-deps",
2525
"version": "npm run electron:build",
2626
"patch": "npm version patch -m 'v%s' && npm run postpublish",
2727
"minor": "npm version minor -m 'v%s' && npm run postpublish",

0 commit comments

Comments
 (0)