DSingh0304 opened a new pull request, #3291:
URL: https://github.com/apache/apisix-dashboard/pull/3291

   Please answer these questions before submitting a pull request, **or your PR 
will get closed**.
   
   **Why submit this pull request?**
   
   - [ ] Bugfix
   - [x] New feature provided
   - [ ] Improve performance
   - [ ] Backport patches
   
   **What changes will this PR take into?**
   
   This PR strengthens the CI pipeline by enforcing linting and formatting 
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 now runs `pnpm lint:fix` 
and fails if any files are modified. This forces developers to resolve 
auto-fixable linting issues locally.
   2. **Type Safety Integration**: Added `pnpm exec tsc -b` to the CI process 
to verify TypeScript compilation and catch errors that ESLint might overlook.
   3. **Environment Alignment**: Upgraded Node.js to version 22 in the GitHub 
Action to stay consistent with the project's dev/e2e environment.
   4. **Actionable Feedback**: Provides clear instructions in CI logs if the 
check fails, directing developers on how to fix formatting issues.
   
   **Related issues**
   
   Related to improvements for CI linting automation.
   Closes #3284 
   
   **Checklist:**
   
   - [x] 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)
   - [x] Is this PR backward compatible? Yes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to