{"repo":"nodejs/citgm","free":true,"listed":false,"github":"https://github.com/nodejs/citgm","clone":"git clone https://github.com/nodejs/citgm.git","description":"Canary in the Gold Mine","language":"JavaScript","stars":604,"topics":["nodejs","test","npm-module","mit","javascript","node"],"license":null,"category":"dev-tools","readme_excerpt":"The Canary in the Goldmine citgm is a simple tool for pulling down an arbitrary module from npm and testing it using a specific version of the node runtime. The Node.js project uses citgm to smoke test our releases and controversial changes. The Jenkins job that utilizes citgm can be found on our CI. Watch the talk by @MylesBorins explaining it in great detail - onCITGM Diaries Installation Usage Examples: Test the latest underscore module or a specific version: citgm underscore@latest or citgm underscore@1.3.0 Test a local module: citgm ./my-module Test using a tar.gz from Github: citgm http://github.com/jasnell/activitystrea.ms/archive/HEAD.tar.gz When using a JSON config file, the properties need to be the same as the longer-form CLI options. You can also use environment variables. For example, CITGM TEST PATH=$HOME/bin is the same as --test-path $HOME/bin . The tool requires online access to the npm registry to run. If you want to point to a private npm registry, then you'll need to set that up in your npm config separately before running citgm. By default, the tool will prevent users from running as root unless the -s or --su CLI switch is set. If the tool is launched as root, it will attempt to silently and automatically downgrade permissions. If it cannot downgrade, it will print an error and exit the process. citgm-all If you want to run all the test suites for all modules found in a lookup table use citgm-all. It will automate the running of all tests and give itemiz","default_branch":null,"files":null,"tree":[],"storefront":"/r/nodejs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nodejs/citgm/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}