Skip to content

ci: run typecheck + build + tests on every PR - #66

Merged
frenchie4111 merged 1 commit into
mainfrom
ci-run-tests-on-prs
May 23, 2026
Merged

ci: run typecheck + build + tests on every PR#66
frenchie4111 merged 1 commit into
mainfrom
ci-run-tests-on-prs

Conversation

@frenchie4111

Copy link
Copy Markdown
Collaborator

Summary

  • Adds .github/workflows/ci.yml running npm run typecheck, npx electron-vite build, and npx vitest run on every PR and on pushes to main.
  • Single ubuntu-latest job, Node 20 (matches build-linux.yml), --legacy-peer-deps install, cancel-in-progress enabled only for PRs (main pushes get a complete signal).
  • Updates CLAUDE.md "Verify before committing" to note the new safety net — local pre-commit ritual still recommended.

Follow-up (maintainer, GitHub UI only)

  • Enable branch protection on main requiring the new ci check to pass before merge. Not in this PR because it's a Settings change, not a code change.

Test plan

  • CI workflow appears and runs all 4 steps green on this PR
  • (Optional) Push a deliberately broken commit on a throwaway branch to confirm CI fails as expected, then revert

🤖 Generated with Claude Code

Adds a GitHub Actions workflow that runs npm run typecheck, npx
electron-vite build, and npx vitest run on every PR (and on pushes to
main as a safety net). Previously these only ran locally, so PRs could
land with broken types or tests if the author skipped the pre-commit
ritual.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@frenchie4111
frenchie4111 merged commit da5c1aa into main May 23, 2026
1 check passed
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