-
-
Notifications
You must be signed in to change notification settings - Fork 38
Description
Feature and its Use Cases
The repo currently has no CI workflow to validate code. Maintainers have to manually clone and test each PR to check if it builds correctly and passes lint - which is time consuming.
Description of feature:
Add a GitHub actions CI workflow with 3 parallel jobs that run on every push and pull request to main:
1.Build and Type check
Runs tsc -b && vite build to catch ts errors and build failure before they reach main branch
2.Lint Check
Runs eslint . to enforce consistent code quality and catch common errors across all contributions.
3.Bundle size check
Downloads the build artifact and warn if disc/exceeds 500KB to keep bundle lean per project constraints. Current bundle is 190KB.
How would users benefited?
Contributors:
- Instant feedback , no need to manually build and lint locally before PR
- Clear pass/fail status visible directly on the PR
Maintainers:
- Broken PRs filtered out so no of manual review
- No need to clone and test each PRs
Project:
- Bundle size stays monitored and lean
- every merged PR is guaranteed to build successfully.
Scenarios this feature addresses:
- Typescript error never seen by maintainer ad CI catches it immediately
- Multiple PRs open simultaneously would be tagged instantly.
Additional Context
No response
Code of Conduct
- I have joined the Discord server and will post updates there
- I have searched existing issues to avoid duplicates