Skip to content

fix(ci): add test and typecheck scripts to package.json#16

Merged
paralizeer merged 1 commit intomainfrom
fix/add-test-scripts-20260308_011916
Mar 8, 2026
Merged

fix(ci): add test and typecheck scripts to package.json#16
paralizeer merged 1 commit intomainfrom
fix/add-test-scripts-20260308_011916

Conversation

@paralizeer
Copy link
Copy Markdown
Owner

Summary

Adds missing test and typecheck scripts 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 runner
  • typecheck: tsc --noEmit - runs TypeScript type checking without emitting files

Verification

  • TypeScript compiles without errors ✓
  • All 162 tests pass ✓
  • Build succeeds ✓

Risk

Low - just adds missing npm scripts, no behavioral changes.

Auto-generated by Openclaw AutoDev

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
@paralizeer paralizeer merged commit 32b7564 into main Mar 8, 2026
@paralizeer paralizeer deleted the fix/add-test-scripts-20260308_011916 branch March 8, 2026 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant