ci: add ci.yml workflow for TypeScript + Electron stack#99
ci: add ci.yml workflow for TypeScript + Electron stack#99
Conversation
Adds the required ci.yml workflow following the Tier 2 per-repo pattern for TypeScript + Electron (npm) documented in the org CI standards. Quality gates: - Type check (tsc --noEmit) - Lint (eslint --max-warnings 0) - Format check (prettier --check) - Test + coverage (vitest --coverage, ≥90%) - Mutation testing (stryker, ≥80%) [continue-on-error] - E2E via Playwright on macOS + Windows [continue-on-error] Actions pinned to SHA per the Action Pinning Policy. Closes #40 Co-authored-by: don-petry <don-petry@users.noreply.github.com>
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 51 minutes and 28 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Self-review complete — no issues found.
@don-petry — this is ready for your review and merge. |
|
There was a problem hiding this comment.
Pull request overview
Adds the required ci.yml GitHub Actions workflow to bring the repo in line with the org’s Tier 2 CI standard for a TypeScript + Electron (npm) stack, running key quality gates on pushes/PRs to main.
Changes:
- Introduces a new CI workflow with an OS matrix (Ubuntu/macOS/Windows) for typecheck/lint/format/tests.
- Adds separate informational jobs for mutation testing (Ubuntu) and E2E (macOS/Windows), both
continue-on-error.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 | ||
| with: | ||
| node-version: 24 | ||
| cache: npm | ||
|
|
||
| - name: Install dependencies | ||
| run: npm ci |
| run: npx prettier --check . | ||
|
|
||
| - name: Test with coverage | ||
| run: npm test -- --coverage |
| run: npm ci | ||
|
|
||
| - name: Install Playwright browsers | ||
| run: npx playwright install --with-deps |
| permissions: {} | ||
|
|
||
| concurrency: | ||
| group: ci-${{ github.ref }} |
Automated review — NEEDS HUMAN REVIEWRisk: HIGH SummaryThe workflow file itself has a sound security posture (deny-all top-level permissions, per-job contents:read, SHA-pinned third-party actions, no secrets, pull_request not pull_request_target). However, the PR must not merge: every CI job fails because FindingsCritical
Major
Minor
Info
CI statusBLOCKED — All CI jobs are failing at the head SHA (57243af). Reviewed by the don-petry PR-review cascade (triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6). Reply with |


Summary
.github/workflows/ci.ymlfollowing the Tier 2 per-repo pattern for TypeScript + Electron (npm) documented in the org CI standardsQuality gates
tsc --noEmiteslint --max-warnings 0prettier --check .vitest run --coveragestryker runcontinue-on-error)playwright testcontinue-on-error)Closes #40
Generated with Claude Code