Skip to content

ci: add GitHub Actions workflow for unit tests#75

Merged
tomkp merged 2 commits into
mainfrom
ci/github-actions
Jan 11, 2026
Merged

ci: add GitHub Actions workflow for unit tests#75
tomkp merged 2 commits into
mainfrom
ci/github-actions

Conversation

@tomkp

@tomkp tomkp commented Jan 11, 2026

Copy link
Copy Markdown
Owner

Summary

Add GitHub Actions CI workflow to automatically run quality checks on PRs and pushes to main.

Workflow steps

  1. Check formatting - Prettier
  2. Lint - ESLint
  3. Type check - TypeScript
  4. Unit tests - Node.js test runner (excludes integration tests)

Configuration

  • Triggers: Push to main, PRs to main
  • Node.js: v22 (matches engines requirement)
  • Caching: npm dependencies cached for faster builds

Test plan

  • CI workflow runs successfully on this PR
  • All checks pass (format, lint, typecheck, tests)

Closes #74

tomkp added 2 commits January 11, 2026 21:56
Add CI workflow that runs on push to main and pull requests:
- Check code formatting (Prettier)
- Run ESLint
- Run TypeScript type checking
- Run unit tests

Uses Node.js 22 with npm caching for faster builds.

Closes #74
@tomkp tomkp merged commit eff206c into main Jan 11, 2026
1 check passed
@tomkp tomkp deleted the ci/github-actions branch January 11, 2026 21:58
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.

Add GitHub Actions CI for unit tests

1 participant