-
Notifications
You must be signed in to change notification settings - Fork 18
Continuous Integration
Antony Budianto edited this page Dec 18, 2016
·
15 revisions
The starter supports Continuous integration and delivery pipeline by:
- Run linting and unit test and will fail the build if one test failed or any error thrown
- Build the production ready artifact
- NodeJS and npm, using nvm is recommended
- Git
- Any CI servers (Jenkins, Travis, etc)
- Production
.env
file withAPP_ENV
is set toproduction
-
Clone or pull your project repository and change directory to there
-
Install packages
npm install
-
Run test
npm test -- --ci
-
Finally run the build tasks
npm run build
It will create the
coverage
folder and the artifact -
Now you can get the artifact in
dist
folder and process it further (scan, delivery, deploy and etc.)
This starter may not fit for your workflow, since it's opinionated. Therefore you can always fork and custom it to fit your workflow
⭐ Support this starter by giving stars, sharing to your friends, or contributing