Web app that lets you order just by scanning a QR Code.
- Clone the project.
- Install the dependencies:
npm install
npm run coverage
, with this script you can get the test coverage.- It uses:
coverage:clean
to remove any old coverage files, coverage:integration
to run the Cypress tests,coverage:unit
to run the unit tests,coverage:merge
to merge the coverage reports.
- It uses:
Every time a pull request opens:
- project gets tested and has its test coverage report sent to Code Climate using Github Actions (with this script),
- Code Climate tests the code for Duplication/Complexity/Maintainability issues,
- Netlify creates a deploy preview.
When a pull request gets merged into master:
- using this script, a new test coverage report is created and sent to Code Climate,
- app gets deployed to Netlify.