Skip to content

Commit

Permalink
ci: add NODE_OPTIONS to preversion script
Browse files Browse the repository at this point in the history
  • Loading branch information
kajabi-bot committed Jul 31, 2024
1 parent dc726d3 commit 6dd8257
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/sage-assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"build:sassdoc": "sassdoc lib/stylesheets --config sassdoc-config.yaml",
"build:sassdoc:watch": "nodemon -e scss --watch lib/stylesheets -x \"yarn run build:sassdoc\"",
"build:watch": "npm-run-all -p build:webpack:watch build:sassdoc:watch",
"preversion": "yarn run build",
"preversion": "NODE_OPTIONS=--openssl-legacy-provider yarn run build",
"server": "yarn ws --directory sassdoc -p 4200",
"prestart": "yarn build:sassdoc",
"start": "yarn server",
Expand Down
2 changes: 1 addition & 1 deletion packages/sage-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"build:watch": "build-storybook -o build && webpack --config webpack/webpack.prod.js --watch",
"lint": "yarn run eslint \"lib/**/*.{js,jsx}\"",
"storybook": "start-storybook -p 4100 --ci",
"preversion": "yarn install && yarn run build",
"preversion": "NODE_OPTIONS=--openssl-legacy-provider yarn install && yarn run build",
"test": "jest --runInBand",
"test:coverage:server": "browser-sync start -s \"coverage/lcov-report\" -f \"coverage/lcov-report/**/*.*\" --port 4110",
"test:coverage:watch": "jest --coverage=true --watchAll=true",
Expand Down
2 changes: 1 addition & 1 deletion packages/sage-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"scripts": {
"build": "webpack --config webpack/webpack.prod.js",
"build:watch": "yarn build --watch",
"preversion": "yarn run build"
"preversion": "NODE_OPTIONS=--openssl-legacy-provider yarn run build"
},
"devDependencies": {
"@babel/core": "^7.11.6",
Expand Down

0 comments on commit 6dd8257

Please sign in to comment.