Repository navigation
ci: add lint + test workflow, fix stale README test counts - #3
Merged
Merged
Conversation
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>
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.
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 singlelint-testjob onubuntu-latestrunningnpm ci→npm run lint→npm test, triggered onpull_requestand pushes tomain.Node is pinned to 22 to match
Dockerfile(node:22-bookworm-slim), so CI buildsbetter-sqlite3against the same ABI the container does. npm caching is enabled viaactions/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 outputnpm 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