CI=true npm run test
CI=true npm run test -- --coverage
npm run build
npm install --global surge surge --domain scandalous-quilt.surge.sh
npm install --save-dev --save-exact prettier npx prettier --check "/*.js" npx prettier --write "/*.js"
- Install dependencies
- Check code formatting
- Run automated tests
- Upload code coverage as an artifact
- Cache dependencies
- Install dependencies
- Check code formatting
- Run automated tests
- Upload code coverage as an artifact
- Build project
- Upload build as an artifact
- Deploy to staging server
- Cache dependencies
- Install dependencies
- Check code formatting
- Run automated tests
- Upload code coverage as an artifact
- Build project
- Create a release
- Deploy to prod server
- Upload coverage to codecov
- Job failure -> create issue
- Issue created -> send slack message
- Release created -> send slack message