fix(ci): increase execFileSync maxBuffer in validate-pack-artifact (#3622)

npm pack --dry-run --json on large packages exceeds the default 1 MB
buffer. Set maxBuffer to 64 MB so check:pack-artifact does not fail
with ENOBUFS on the CI runner.
This commit is contained in:
Diego Rodrigues de Sa e Souza
2026-06-11 05:08:54 -03:00
committed by GitHub
parent 88857237a2
commit a32e52eed6

View File

@@ -25,6 +25,7 @@ function runNpm(args: string[], stdio: "inherit" | "pipe" = "pipe"): string {
cwd: ROOT,
encoding: "utf8",
stdio: stdio === "inherit" ? "inherit" : ["ignore", "pipe", "pipe"],
maxBuffer: 64 * 1024 * 1024,
});
}