This project is set up with NCM CI on various CICD systems to demonstrate how it will pass or fail your builds depending on the state of your node_modules dependency tree.
- Read the docs
- Learn more about NodeSource Certified Modules
- Sign up for a professional tier account to get started!
The following CICD systems have been set up:
|System||OS||Config||Passing build||Failing build|
|Travis||Linux||.travis.yml||Build #8||Build #11|
Remember that you will need to set
NCM_TOKEN=xxx as an environment variable, which should not be made visible to the public. For instruction on obtaining a token, read the docs.
In case there are problematic dependencies in your tree, ncm-ci will list them out:
Fix those dependencies and you'll see All good!
This project's #master branch passes ncm-ci, however an example Pull request #1 has been set up to demonstrate how ncm-ci will fail your build when vulnerable or noncompliant dependencies are introduced.