Skip to content

Commit

Permalink
fix: override NODE_OPTIONS
Browse files Browse the repository at this point in the history
  • Loading branch information
piercus committed Mar 24, 2023
1 parent 797253f commit 768d061
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
- name: Override NODE options
run: echo "NODE_OPTIONS=--openssl-legacy-provider" >> $GITHUB_ENV
- run: npm ci
- run: npm run build
- name: Semantic Release
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ jobs:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Override NODE options
run: echo "NODE_OPTIONS=--openssl-legacy-provider" >> $GITHUB_ENV
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm test
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"semantic-release": "semantic-release",
"build-demo": "build && browserify -d -r ./demo/src/main.js:main > docs/demo.js && cp dist/kalman-filter.js docs/dist/kalman-filter.js",
"serve-demo": "http-server docs/",
"build": "webpack"
"build": "NODE_OPTIONS=--openssl-legacy-provider webpack"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 768d061

Please sign in to comment.