Skip to content

Commit 4bd8e67

Browse files
Revert node 18 changes (#44)
Serve is not working in separate projects. As node is complaining about the --openssl-legacy-provider option in NODE_OPTIONS. This is required for webpack 4. So for now going back to node 16 is the only option.
1 parent 09ab598 commit 4bd8e67

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/nodeCI.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
os: [ubuntu-20.04, ubuntu-latest, windows-latest]
13-
node: [18]
13+
node: [16]
1414
include:
1515
- os: windows-latest
1616
commandPrefix: ''

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
"funding": "https://github.com/sponsors/MatthijsBurgh",
99
"scripts": {
1010
"test:ci": "yarn run test:jest --runInBand --coverage && yarn run test:playwright",
11-
"test:jest": "cross-env env NODE_OPTIONS=--openssl-legacy-provider jest",
12-
"test:playwright": "cross-env env NODE_OPTIONS=--openssl-legacy-provider playwright test",
11+
"test:jest": "jest",
12+
"test:playwright": "playwright test",
1313
"test": "yarn run test:jest && yarn run test:playwright",
1414
"pretest:ci": "yarn run pretest",
1515
"pretest": "rimraf --glob __tests__/projects/*",
1616
"lint": "eslint .",
17-
"docs:dev": "cross-env env NODE_OPTIONS=--openssl-legacy-provider vuepress dev docs",
18-
"docs:build": "cross-env env NODE_OPTIONS=--openssl-legacy-provider vuepress build docs",
19-
"docs:deploy": "cross-env env NODE_OPTIONS=--openssl-legacy-provider node ./deployDocs.js"
17+
"docs:dev": "vuepress dev docs",
18+
"docs:build": "vuepress build docs",
19+
"docs:deploy": "node ./deployDocs.js"
2020
},
2121
"keywords": [
2222
"electron",

0 commit comments

Comments
 (0)