Skip to content

[FEATURE]: Add CI workflow for build, lint and bundle size verification #37

@Ri1tik

Description

@Ri1tik

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions