Skip to content

Run frontend lint and build on pull requests #58

Open

Description

@Janani-bn

Root package.json has lint and build scripts, but there's no .github/workflows on main - reviewers have to run checks by hand, so broken imports and build errors slip through. (Backend test script is a placeholder that errors out, so it can't gate CI yet.)

Suggested fix: add a GitHub Actions workflow for pushes and PRs to main: supported Node version, npm ci, npm run lint, npm run build from the repo root. Add backend checks only when reliable.

Acceptance criteria:

  • Workflow runs on PRs with separate lint/build results
  • Lint or build failure marks the check failed
  • Clean PR passes with fresh install
  • No project secrets required for these checks

Activity

  1. Divya2007-hub commented on Sep 25, 2026

    @Divya2007-hub

    Hi! I’d like to work on this issue as an open-source contribution.

    I can add a GitHub Actions workflow that runs on pull requests and pushes to main, installs dependencies with npm ci, and runs lint and build as separate checks. I’ll also verify that failures correctly fail the workflow and that the checks work from a clean install without requiring project secrets.

    I’ll leave backend checks out for now since the current backend test script is not yet reliable.

    I’d be happy to take this up.

  2. shraddhalimbekar07-wq commented on Sep 26, 2026

    @shraddhalimbekar07-wq

    Hi! I’m interested in contributing to this issue. I noticed that someone has already expressed interest in working on it. If this issue is still available, I’d be happy to work on it. Please let me know. Thank you!

  3. Divya2007-hub commented on Sep 27, 2026

    @Divya2007-hub

    I see that PR #68 has been opened for this issue. Since the implementation is already in progress, I won't create a duplicate PR. I'm happy to help test/review the workflow or take up another issue if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

OSCIci/cdBuild, lint, and CI pipeline workgood first issueGood for newcomers

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions