Skip to content

Commit 34e1ab3

Browse files
(actions) update (#831)
2 parents 3038123 + 3f83e67 commit 34e1ab3

File tree

4 files changed

+22
-21
lines changed

4 files changed

+22
-21
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: 8 additions & 7 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
@@ -18,16 +18,16 @@
1818
],
1919
"description": "App for display on HERO robot",
2020
"scripts": {
21-
"serve": "vue-cli-service serve",
22-
"build": "vue-cli-service build",
23-
"test": "playwright test",
24-
"lint": "vue-cli-service lint",
21+
"serve": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service serve",
22+
"build": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service build",
23+
"test": "NODE_OPTIONS=--openssl-legacy-provider playwright test",
24+
"lint": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service lint",
2525
"preelectron:build": "npm run lint && npm run electron:generate-icons",
26-
"electron:build": "vue-cli-service electron:build --publish=never",
27-
"electron:serve": "vue-cli-service electron:serve localhost",
28-
"electron:generate-icons": "electron-icon-builder --input=./public/icon.png --output=build --flatten",
29-
"postinstall": "electron-builder install-app-deps",
30-
"postuninstall": "electron-builder install-app-deps",
26+
"electron:build": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service electron:build --publish=never",
27+
"electron:serve": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service electron:serve localhost",
28+
"electron:generate-icons": "NODE_OPTIONS=--openssl-legacy-provider electron-icon-builder --input=./public/icon.png --output=build --flatten",
29+
"postinstall": "NODE_OPTIONS=--openssl-legacy-provider electron-builder install-app-deps",
30+
"postuninstall": "NODE_OPTIONS=--openssl-legacy-provider electron-builder install-app-deps",
3131
"version": "npm run electron:build",
3232
"patch": "npm version patch -m 'v%s' && npm run postpublish",
3333
"minor": "npm version minor -m 'v%s' && npm run postpublish",

0 commit comments

Comments
 (0)