Skip to content

ci: add lint + test workflow, fix stale README test counts - #3

Merged
ninedter merged 2 commits into
mainfrom
claude/ci-readme-followup
Sep 10, 2026
Merged

ninedter merged 2 commits into
mainfrom
claude/ci-readme-followup

Conversation

@ninedter

Copy link
Copy Markdown
Owner

Follow-up to the QA gaps found after #2 merged.

What changed

1. GitHub Actions CI — the repo had no workflows, so #2 merged without any automated checks. Adds .github/workflows/ci.yml: a single lint-test job on ubuntu-latest running npm ci → npm run lint → npm test, triggered on pull_request and pushes to main.

Node is pinned to 22 to match Dockerfile (node:22-bookworm-slim), so CI builds better-sqlite3 against the same ABI the container does. npm caching is enabled via actions/setup-node.

2. README test counts — two spots still claimed 133 tests. The real count is 155 passing across 19 files, which the badge on line 11 already reflected; the quick-start snippet and the Development table were stale.

Verification

Run locally on this branch against a clean npm ci:

  • npm run lint — clean, no output
  • npm test — Test Files 19 passed (19) / Tests 155 passed (155)

No remaining mentions of 133 in the README.

Scope

Deliberately minimal — no Edge/Frontend jobs, no deploy, no Docker build in CI, no matrix. Just the lint + test gate that was missing.

🤖 Generated with Claude Code

ninedter and others added 2 commits September 10, 2026 13:22
No GitHub Actions existed on the repo, so PRs merged without automated
checks. Adds a minimal workflow running npm ci / lint / test on Node 22
(matching the Dockerfile) for pull requests and pushes to main.

Also corrects two README mentions that still claimed 133 tests; the
suite is 155 passing across 19 files, which the badge already reflected.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The v4 actions target the deprecated Node 20 action runtime, so every run
emits a deprecation annotation. v5 targets Node 24 natively.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@ninedter
ninedter merged commit d34b689 into main Sep 10, 2026
1 check passed
@ninedter
ninedter deleted the claude/ci-readme-followup branch September 10, 2026 14:20
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