Skip to content

Add CI workflow for typecheck, lint, format, and tests - #3

Merged
otnc merged 1 commit into
mainfrom
ci/add-lint-format-test-workflow
Oct 1, 2026
Merged

otnc merged 1 commit into
mainfrom
ci/add-lint-format-test-workflow

Conversation

@otnc

@otnc otnc commented Oct 1, 2026

Copy link
Copy Markdown
Owner

Summary

Adds .github/workflows/ci.yml, running on every push to main and on pull requests:

  • npm run typecheck
  • npm run lint
  • npm run format:check
  • npm test

Note: I added typecheck alongside the requested lint/format/test, since this repo has a separate typecheck script and it's a near-free, high-value check to run in CI. Happy to drop it if you'd rather keep CI to exactly the three.

Uses node-version-file: .nvmrc so the CI Node version always matches local dev.

Test plan

  • Ran the same four commands locally against a clean install; all pass

Runs on every push to main and on pull requests. Uses the Node
version pinned in .nvmrc so it stays in sync with local development.
@otnc
otnc merged commit 56da6e2 into main Oct 1, 2026
3 checks passed
@otnc
otnc deleted the ci/add-lint-format-test-workflow branch October 1, 2026 05:36
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