File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -188,19 +188,24 @@ jobs:
188188 # we need to craft compatible versions by hand,
189189 # and might utilize `npm_config_engine_strict=false`
190190
191- dev_constraints=' npm-run-all2 c8 mocha fast-glob '
191+ dev_constraints=' npm-run-all2 c8 mocha fast-glob rimraf '
192192 # as long as npm cannot auto-resolve engine-constraints, we need to help here
193193 case "$NODE_VERSION" in
194194 '16')
195195 dev_constraints="${dev_constraints/ c8 / c8@^9 }"
196+ dev_constraints="${dev_constraints/ rimraf / rimraf@^4 }"
197+ export npm_config_engine_strict=false
196198 ;;
197199 '14')
198200 dev_constraints="${dev_constraints/ c8 / c8@^9 }"
199201 dev_constraints="${dev_constraints/ npm-run-all2 / npm-run-all2@^5 }"
202+ dev_constraints="${dev_constraints/ rimraf / rimraf@^4 }"
203+ export npm_config_engine_strict=false
200204 ;;
201205 '14.0.0')
202206 dev_constraints="${dev_constraints/ c8 / c8@^8 }"
203207 dev_constraints="${dev_constraints/ npm-run-all2 / npm-run-all2@^5 }"
208+ dev_constraints="${dev_constraints/ rimraf / rimraf@^4 }"
204209 export npm_config_engine_strict=false
205210 ;;
206211 esac
You can’t perform that action at this time.
0 commit comments