test(sdk): keep package e2e pnpm noninteractive

This commit is contained in:
Vincent Koc
2026-06-19 12:57:55 +02:00
parent 4799fe7df6
commit 3bc936b675

View File

@@ -43,7 +43,13 @@ function runCommand(
const stderr: string[] = [];
const child = spawn(command, args, {
cwd: options.cwd,
env: { ...process.env, npm_config_audit: "false", npm_config_fund: "false" },
env: {
...process.env,
CI: process.env.CI ?? "true",
npm_config_audit: "false",
npm_config_fund: "false",
PNPM_CONFIG_VERIFY_DEPS_BEFORE_RUN: "false",
},
stdio: ["ignore", "pipe", "pipe"],
});
const timer = setTimeout(() => {