Repository navigation
ci: build + test on pull requests to main - #2
Conversation
Add a CI workflow that installs deps, builds the CLI, and runs the backend and GUI test suites on every pull request and push to main, so PRs are validated before merge.
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 43 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
What
Adds a
CIworkflow that runs on every pull request and push tomain:npm ci)npm run build)npm test)Why
We're moving to a PR-based workflow. This gives every PR an automated
build + test gate before merge.
Notes
ubuntu-latest. The LibreOffice/PDF tests already tolerateLibreOffice being absent, so they stay green on the runner.
tsc && vite build) is intentionally not run yet:tsccurrently errors on a pre-existing
baseUrldeprecation. CI runs the GUItests (vitest) instead. Fixing the GUI tsconfig can be a follow-up.
mainrequiring thischeck to pass.