Skip to content

nodesource/ncm-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@nodesource/ncm-ci

Build Status

NCM for CICD systems.

Usage

$ cd express
$ NCM_TOKEN=token ncm-ci
NCM
express v4.16.3
Pass: 266, Whitelisted: 0, Fail: 4

      License
       Vulnerability
        Uncertified

   85  V  debug v1.0.5
   85  V  eslint v2.13.1
    0 L   jsonify v0.0.0
   78  V  shelljs v0.6.1

The tool will exit with a non-0 exit code if one or more dependencies failed the certification check.

$ ncm-ci
$ echo $?
1

Installation

Either install as a global:

$ npm install -g @nodesource/ncm-ci

Or use npx to install and invocate the tool in one line:

$ npx @nodesource/ncm-ci

License & copyright

Copyright © NodeSource.

Licensed under the MIT open source license, see the LICENSE file for details.