test(cli): launch npm through shell on Windows

This commit is contained in:
tommy0103
2026-07-16 21:25:05 +08:00
parent 5da5987bee
commit 4d8f201d22
2 changed files with 9 additions and 1 deletions
+1
View File
@@ -13,6 +13,7 @@ test('build:skill produces a docs-only skill that delegates execution to the CLI
execFileSync(npmCommand, ['run', 'build:skill'], {
cwd: repoRoot,
encoding: 'utf8',
shell: process.platform === 'win32',
stdio: 'pipe',
});