Skip to content

Commit 08a8b65

Browse files
(actions) update (#775)
2 parents 4f743fc + 5d2ff3f commit 08a8b65

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

.github/workflows/deployment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ on:
99
jobs:
1010
deployment:
1111
name: Deployment
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-22.04
1313
steps:
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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
name: CI
22

3-
on: [push, pull_request]
3+
on: [push, pull_request, workflow_dispatch]
44

55
jobs:
66
build:
77
name: Build
8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-22.04
99
steps:
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-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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)