Skip to content

ci: add GitHub Actions workflow (typecheck + tests on Node 24) - #11

Open
ephraimduncan wants to merge 2 commits into
mainfrom
ci/add-workflow
Open

ephraimduncan wants to merge 2 commits into
mainfrom
ci/add-workflow

Conversation

@ephraimduncan

Copy link
Copy Markdown
Owner

Adds a minimal GitHub Actions CI workflow: npm ci, npm run typecheck, and the node --test suite on Node 24, with a 15-minute job timeout.

Verified locally before opening (Linux, Node 24.10.0):

  • Node 24 is required: the tests are TypeScript run directly via node --test, which needs native type stripping — on Node 22 all 13 files die with ERR_UNKNOWN_FILE_EXTENSION.
  • 111/13 test files green: 11 files, 105+ assertions passing.
  • test/bash-task-ask.test.ts excluded for now: it hangs in a clean environment ("Promise resolution is still pending" while awaiting the host CLI, rc=124 after 40s).
  • test/smoke.test.ts excluded for now: its spawned host CLI is not available in a clean environment (spawn fails).

Both look host-CLI-dependent rather than real regressions — a skip guard when the CLI is absent would let them re-join the suite; happy to add that as a follow-up. Also glad to switch the Node version or add a lint/build job if you'd prefer.

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