Ticket Contents
Description
The AMRIT UI repos, part of the AMRIT (Accessible Medical Records via Integrated Technologies) initiative by Piramal Swasthya, is built with Angular. To maintain high coding standards and ensure the reliability of the application, we need to configure GitHub Actions to automate quality checks before any code is merged into the main branch. This includes enforcing linting, checking for npm vulnerabilities when package.json is modified, and ensuring that all tests pass.
What You Will Learn:
As a contributor, you will:
- Gain hands-on experience with GitHub Actions and CI/CD pipelines.
- Learn how to automate code quality checks and security scans in Angular projects.
- Develop skills in configuring linting, testing, and dependency vulnerability checks.
- Work closely with experienced developers to maintain high standards in code quality and project reliability.
- Understand best practices in DevOps and continuous integration.
Desired Skills:
- Basic knowledge of Angular and front-end development.
- Familiarity with GitHub, GitHub Actions, and CI/CD concepts.
- Understanding of linting tools (e.g., ESLint) and package managers (e.g., npm).
- Eagerness to learn about DevOps practices and automation tools.
Goals
Expected Outcome
A fully configured GitHub Actions pipeline that enforces coding standards, reliability checks, and security scans for the AMRIT UI repositories. This setup will ensure that only clean, secure, and well-tested code is merged, maintaining the integrity of the application. The workflows must be configured for all the UI repos.
https://github.com/orgs/PSMRI/repositories?q=-UI
Acceptance Criteria
- GitHub Actions workflow is set up and running for every pull request.
- Linting errors are detected and must be resolved before merging.
- npm audit checks for vulnerabilities when dependencies are modified.
Implementation Details
https://github.com/typicode/husky
https://github.com/marketplace/actions/run-eslint
https://github.com/marketplace/actions/npm-audit-action
Mockups/Wireframes
NA
Product Name
AMRIT
Organisation Name
Piramal Swasthya Management Research Institute
Domain
Healthcare
Tech Skills Needed
Angular, ESLint, JavaScript, TypeScript
Mentor(s)
@drtechie
Complexity
Medium
Category
CI/CD, Deployment, Testing
Ticket Contents
Description
The AMRIT UI repos, part of the AMRIT (Accessible Medical Records via Integrated Technologies) initiative by Piramal Swasthya, is built with Angular. To maintain high coding standards and ensure the reliability of the application, we need to configure GitHub Actions to automate quality checks before any code is merged into the main branch. This includes enforcing linting, checking for npm vulnerabilities when
package.jsonis modified, and ensuring that all tests pass.What You Will Learn:
As a contributor, you will:
Desired Skills:
Goals
Expected Outcome
A fully configured GitHub Actions pipeline that enforces coding standards, reliability checks, and security scans for the AMRIT UI repositories. This setup will ensure that only clean, secure, and well-tested code is merged, maintaining the integrity of the application. The workflows must be configured for all the UI repos.
https://github.com/orgs/PSMRI/repositories?q=-UI
Acceptance Criteria
Implementation Details
https://github.com/typicode/husky
https://github.com/marketplace/actions/run-eslint
https://github.com/marketplace/actions/npm-audit-action
Mockups/Wireframes
NA
Product Name
AMRIT
Organisation Name
Piramal Swasthya Management Research Institute
Domain
Healthcare
Tech Skills Needed
Angular, ESLint, JavaScript, TypeScript
Mentor(s)
@drtechie
Complexity
Medium
Category
CI/CD, Deployment, Testing