Skip to content

Conversation

@DSingh0304
Copy link
Contributor

@DSingh0304 DSingh0304 commented Jan 28, 2026

Please answer these questions before submitting a pull request, or your PR will get closed.

Why submit this pull request?

  • New feature provided

What changes will this PR take into?

This PR strengthens the CI pipeline by enforcing linting, formatting, and type-safety standards. It ensures that any code pushed to the repository is consistent with the project's style guidelines and free of architectural TypeScript errors.

Key features:

  1. Automated Format Enforcement: The workflow runs pnpm lint:fix and fails if any tracked files are modified. This ensures that all submitted code is perfectly formatted.
  2. Type Safety Integration: Added a mandatory pnpm exec tsc -b step to verify TypeScript compilation and catch errors that ESLint might overlook.
  3. Optimized CI Workflow:
    • Uses Node 22 to match the project's test environment.
    • Ignores untracked files in the format check to prevent false positives.
    • Aligns with existing project standards by using consistent Action versions (@v6).

Related issues

Related to improvements for CI linting automation and code quality enforcement.
Closes: #3284

Checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added corresponding test cases? (N/A - CI configuration change)
  • Have you modified the corresponding document? (N/A)
  • Is this PR backward compatible? Yes.

@DSingh0304 DSingh0304 changed the title Feat/add lint workflow feat: add lint workflow Jan 28, 2026
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.

add lint workflow

1 participant