/ stream.nieuweinstituut.nl / node_modules / is-ci /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[   ]LICENSE40 years ago1.1K 
[TXT]README.md40 years ago1.3Kd768d73 docs [كارل مبارك]
[   ]bin.js40 years ago 70  
[   ]index.js40 years ago 55 3e510ca test new git [كارل مبارك]
[   ]package.json2 years ago1.6K3e510ca test new git [كارل مبارك]
README.md

is-ci

Returns true if the current environment is a Continuous Integration server.

Please open an issue if your CI server isn't properly detected :)

npm Build status js-standard-style

Installation

npm install is-ci --save

Programmatic Usage

const isCI = require('is-ci')

if (isCI) {
  console.log('The code is running on a CI server')
}

CLI Usage

For CLI usage you need to have the is-ci executable in your PATH. There's a few ways to do that:

is-ci && echo "This is a CI server"

Supported CI tools

Refer to ci-info docs for all supported CI's

License

MIT

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80