Skip to content

Commit 1dfcfcb

Browse files
committed
feat: remove suport for node<20.18
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent b4cb8f6 commit 1dfcfcb

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

.github/workflows/nodejs.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff 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::"

0 commit comments

Comments
 (0)