File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -198,26 +198,6 @@ jobs:
198198 # and might utilize `npm_config_engine_strict=false`
199199
200200 dev_constraints=' npm-run-all2 c8 mocha fast-glob rimraf '
201- # as long as npm cannot auto-resolve engine-constraints, we need to help here
202- case "$NODE_VERSION" in
203- '16')
204- dev_constraints="${dev_constraints/ c8 / c8@^9 }"
205- dev_constraints="${dev_constraints/ rimraf / rimraf@^4 }"
206- export npm_config_engine_strict=false
207- ;;
208- '14')
209- dev_constraints="${dev_constraints/ c8 / c8@^9 }"
210- dev_constraints="${dev_constraints/ npm-run-all2 / npm-run-all2@^5 }"
211- dev_constraints="${dev_constraints/ rimraf / rimraf@^4 }"
212- export npm_config_engine_strict=false
213- ;;
214- '14.0.0')
215- dev_constraints="${dev_constraints/ c8 / c8@^8 }"
216- dev_constraints="${dev_constraints/ npm-run-all2 / npm-run-all2@^5 }"
217- dev_constraints="${dev_constraints/ rimraf / rimraf@^4 }"
218- export npm_config_engine_strict=false
219- ;;
220- esac
221201 echo "::group::install prod"
222202 npm_config_engine_strict=false npm i --ignore-scripts --include=optional --omit=dev --only=prod --production --loglevel=silly
223203 echo "::endgroup::"
You can’t perform that action at this time.
0 commit comments