Actions for build, run test cases and sonar analysis on a PR#87
Open
yashashkumar wants to merge 5 commits intoSunbird-Knowlg:release-5.2.1from
Open
Actions for build, run test cases and sonar analysis on a PR#87yashashkumar wants to merge 5 commits intoSunbird-Knowlg:release-5.2.1from
yashashkumar wants to merge 5 commits intoSunbird-Knowlg:release-5.2.1from
Conversation
…Linting steps also added in the workflow.
#SBCOSS-157-Feat: Github-Action - Validate PR: Unit Tests and Linting
There was a problem hiding this comment.
Pull Request Overview
This PR introduces GitHub Actions workflows to automate the build, testing, and SonarQube analysis on pull requests while updating the project's linting configuration.
- Updated ESLint to version 8.57.1 and added related dependencies in package.json.
- Added a GitHub Actions workflow for build, test, lint, and SonarQube analysis events on pull requests.
- Replaced the old .eslintrc JSON config with a new .eslintrc.js configuration.
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| package.json | Upgraded ESLint version, added linting dependencies, and a new lint script. |
| README.md | Added documentation for GitHub Actions build and test workflow. |
| .github/workflows/pull-request.yml | Introduced a new workflow for automated builds, testing, linting, and sonar analysis. |
| .eslintrc.js | New ESLint configuration file with a typo in the require call. |
| .eslintrc | Removed previous ESLint configuration in JSON format. |
pallakartheekreddy
previously approved these changes
Jun 25, 2025
renamed key Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pallakartheekreddy
previously approved these changes
Jun 26, 2025
pallakartheekreddy
approved these changes
Jul 24, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.