Skip to content

Commit c359fde

Browse files
committed
fix(ci): resolve test script argument parsing issue
The CI workflow was incorrectly passing shell operators (&&) and subsequent commands as literal arguments to the test script, causing them to be interpreted as test file filters instead of separate commands. Changes: - Add --skip-build flag to test-script since build runs in test-setup-script - Change type-check-script from 'pnpm run check' to 'pnpm run type' for dedicated TypeScript checking without redundant steps This eliminates argument confusion and redundant build steps while maintaining the same validation coverage.
1 parent 5cdeceb commit c359fde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
lint-script: 'pnpm run lint --all'
2424
node-versions: '["24.10.0"]'
2525
os-versions: '["ubuntu-latest", "windows-latest"]'
26-
test-script: 'pnpm run test --all'
26+
test-script: 'pnpm run test --all --skip-build'
2727
test-setup-script: 'pnpm run build'
28-
type-check-script: 'pnpm run check'
28+
type-check-script: 'pnpm run type'
2929
type-check-setup-script: 'pnpm run build'

0 commit comments

Comments
 (0)