This repository contains the code for a Node.js API. The setup includes a CI/CD pipeline configured with GitHub Actions for linting, formatting, running tests, and deploying the app to AWS EC2 on merge to master
branch.
Before running the project locally, make sure you have the following tools installed:
Clone this repository to your local machine:
git clone git@github.com:tazbin/ci-cd-pipeline.git
cd ci-cd-pipeline
Install the dependencies
npm install
Run the app
npm run start
Check code linting
npm run lint:check
Fix code linting
npm run lint:fix
Check code Format
npm run format:check
Fix code Formatting
npm run format:fix
npm run test