In this challenge, I'm consolidating my knowledge related to creating a CI (Continuous Integration) pipeline by performing the following steps:
- Create a small, simple application in node.js
- Create unit tests for this application
- Set up a CI pipeline using GitHub Actions that does the following:
- Installs dependencies
- Runs the tests
- Executes SonarCloud
The application is a simple Node.js application that exposes several math functions: sum, sub, mult, and div. Also, inside the .github/workflows folder, you can find the GitHub Actions workflow that is responsible for running the CI pipeline that will run the tests and execute SonarCloud.
- Node.js
- Jest
- GitHub Actions
- SonarCloud