Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

nodesource/ncm-ci-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ncm-ci-example

Build Status Build status CircleCI

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.

CICD

The following CICD systems have been set up:

System OS Config Passing build Failing build
Travis Linux .travis.yml Build #8 Build #11
AppVeyor Windows appveyor.yml 1.0.7 1.0.10
CircleCI Linux .circleci/config.yml #4 #6

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.

Output

In case there are problematic dependencies in your tree, ncm-ci will list them out:

ci fail

Fix those dependencies and you'll see All good!

ci pass

Pull requests

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.

pull request screenshot

About

Examples for using ncm-ci with various CI systems

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors