diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3689bcb..dca3724 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ffe4ace..48f4d63 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 \ No newline at end of file diff --git a/package.json b/package.json index 3e7d541..c99a2ac 100644 --- a/package.json +++ b/package.json @@ -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",