Skip to content

ci: run test suite on push and PRs#7

Merged
renezander030 merged 1 commit into
masterfrom
ci-add-test-workflow
Jun 18, 2026
Merged

ci: run test suite on push and PRs#7
renezander030 merged 1 commit into
masterfrom
ci-add-test-workflow

Conversation

@renezander030

Copy link
Copy Markdown
Owner

Summary

Add GitHub Actions CI so the new node:test suite (added in #6) runs automatically on every push to master and every pull request.

Details

  • Runs npm test on Node 18, 20, and 22 (matches engines.node >=18)
  • No secrets, no network, no extra dependencies

Follows up on #6, which replaced the smoke test with real assertions but had no CI to enforce them.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@renezander030
renezander030 merged commit e015e13 into master Jun 18, 2026
3 checks passed
@renezander030
renezander030 deleted the ci-add-test-workflow branch June 18, 2026 06:36
renezander030 added a commit that referenced this pull request Jun 20, 2026
Roadmap items 5-10 plus open issues, on top of the new test framework (#6) and
CI (#7).

New commands
- init: generate a real-world config (XDG default path; detects bin dir and
  which preset tools/dirs exist; writes only working sources). Closes #5.
- prove <source:item>: turn an unverified hit into a concrete proof. Strict —
  only a clean execution (tool liveness or a source's `validate` cmd, exit 0)
  promotes to proven; inspecting a file or a claim stays unverified.
- doctor: health-check every configured source; exits non-zero if any is
  unusable. Closes #1.

check
- per-source `diagnostics` (JSON) + human footer, so a broken source no longer
  looks like an empty one (missing cmd, dead root, bad JSON, scan limit).
  Output stays deterministic (no timing fields). Closes #2.
- explainable ranking: matched_terms, filename_matches, recency, score_explanation.

Portability / packaging
- presets/ (ats, rzq, memory, repos) + auto-detection so real wiring is
  reproducible without hard-coding paths.
- package.json: author, repository, bugs, homepage, publishConfig; bump 0.1.0->0.2.0.

CI / tests
- doctor/diagnostics/init/prove covered by new test/*.test.mjs in the node:test
  suite (npm test).
- test.yml also verifies `npm pack --dry-run` and a demo sweep. Closes #4.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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