Skip to content

Commit 768d061

Browse files
committed
fix: override NODE_OPTIONS
1 parent 797253f commit 768d061

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ jobs:
1515
uses: actions/setup-node@v3
1616
with:
1717
node-version: 18
18-
- name: Override NODE options
19-
run: echo "NODE_OPTIONS=--openssl-legacy-provider" >> $GITHUB_ENV
2018
- run: npm ci
2119
- run: npm run build
2220
- name: Semantic Release

.github/workflows/test.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ jobs:
1616
- name: Use Node.js ${{ matrix.node-version }}
1717
uses: actions/setup-node@v3
1818
with:
19-
node-version: ${{ matrix.node-version }}
20-
- name: Override NODE options
21-
run: echo "NODE_OPTIONS=--openssl-legacy-provider" >> $GITHUB_ENV
19+
node-version: ${{ matrix.node-version }}
2220
- run: npm ci
2321
- run: npm run build --if-present
2422
- run: npm test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"semantic-release": "semantic-release",
99
"build-demo": "build && browserify -d -r ./demo/src/main.js:main > docs/demo.js && cp dist/kalman-filter.js docs/dist/kalman-filter.js",
1010
"serve-demo": "http-server docs/",
11-
"build": "webpack"
11+
"build": "NODE_OPTIONS=--openssl-legacy-provider webpack"
1212
},
1313
"repository": {
1414
"type": "git",

0 commit comments

Comments
 (0)