Skip to content

ci: add GitHub Actions workflow for linting on PRs#32

Open
YashKrTripathi wants to merge 1 commit into
Pushkarini579:mainfrom
YashKrTripathi:YashCommits
Open

ci: add GitHub Actions workflow for linting on PRs#32
YashKrTripathi wants to merge 1 commit into
Pushkarini579:mainfrom
YashKrTripathi:YashCommits

Conversation

@YashKrTripathi

@YashKrTripathi YashKrTripathi commented Jun 3, 2026

Copy link
Copy Markdown

FIXES OR CLOSES #12

Pull Request: Set up automated linting workflow for PRs

Description

This pull request introduces a GitHub Actions workflow to automatically run linting checks on every new Pull Request. This ensures consistent code quality and stylistic standards across the entire stack before code is merged.

Changes Made

  • Added a new workflow file: .github/workflows/lint.yml.
  • Frontend Linting: Added a job to run npm run lint for the Next.js frontend application.
  • Server Linting: Added a job to run npm run lint within the Node.js server directory (gracefully ignoring if the script is absent via --if-present).
  • Backend Linting: Added a job to install dependencies and run ruff check . for the Python backend directory.

Testing / Verification

  • The workflow triggers on the pull_request event for main and master branches.
  • Tested locally to ensure the directories and linting commands match the repository structure.

Impact

  • Code Quality: Automated linting will catch syntax errors, formatting issues, and anti-patterns early in the review process.
  • Review Efficiency: Reduces the manual burden on reviewers to spot stylistic issues, allowing them to focus on logic and architecture.

@vercel

vercel Bot commented Jun 3, 2026

Copy link
Copy Markdown

@YashKrTripathi is attempting to deploy a commit to the Pushkarini 's projects Team on Vercel.

A member of the Team first needs to authorize it.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI/CD] Set up GitHub Actions for Linting

1 participant