Sample nodejs app, just for testing CI/CD with GitHub Actions
Sign up for SonarCloud and create a new project.
-
Add a SonarCloud token to your GitHub repository secrets.
-
Update the workflow file to include SonarCloud analysis.
Sign up for Snyk and create a new project.
-
Add a Snyk token to your GitHub repository secrets.
-
Update the workflow file to include Snyk security scans.
Set up AWS Infrastructure:
- Create an S3 bucket or an EC2 instance for deployment.
- Configure AWS credentials.
- Add AWS credentials to GitHub Secrets:
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY