workaround node & npm issues (#5825)

- upgrade GitHub Actions dependencies
- workaround `sucrase` issues
This commit is contained in:
Alex Lam S.L
2024-06-05 03:55:16 +03:00
committed by GitHub
parent f0ca9cfbe6
commit 30fd331bf1
6 changed files with 38 additions and 15 deletions

View File

@@ -63,7 +63,10 @@ if (typeof phantom == "undefined") {
function npm(args, done) {
args.push("--loglevel=error");
child_process.spawn(cmd, args, { stdio: [ "ignore", 1, 2 ] }).on("exit", done);
child_process.spawn(cmd, args, {
shell: true,
stdio: [ "ignore", 1, 2 ],
}).on("exit", done);
}
(function install() {