fix(ci): add test and typecheck scripts to package.json#16
Merged
paralizeer merged 1 commit intomainfrom Mar 8, 2026
Merged
Conversation
These scripts are required by the CI workflow (PR #9) but were missing from main. Without them, CI fails with 'Missing script' errors. - test: runs node --test on all test files - typecheck: runs tsc --noEmit for TypeScript type checking All 162 tests pass. TypeScript compiles without errors. Auto-generated by Openclaw AutoDev
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds missing
testandtypecheckscripts to package.json that are required by the CI workflow (introduced in PR #9).Problem
CI was failing with 'Missing script: typecheck' and 'Missing script: test' errors because these scripts weren't defined in package.json, even though the CI workflow tried to run them.
Solution
Added two npm scripts:
test:node --test tests/*.test.ts- runs all tests using Node.js built-in test runnertypecheck:tsc --noEmit- runs TypeScript type checking without emitting filesVerification
Risk
Low - just adds missing npm scripts, no behavioral changes.
Auto-generated by Openclaw AutoDev