yocto-ci

1.0.1 • Public • Published

yocto-ci

Tiny tool to check if we are inside a CI environment

API

require('yocto-ci')

Returns true if inside CI. Otherwise returns false.

CLI

inside-ci or in-ci

Returns error code 0 if inside CI.

  • in-ci && echo 'running inside CI'

not-ci

Inverse of the above:

not-ci && husky install

Readme

Keywords

Package Sidebar

Install

npm i yocto-ci

Weekly Downloads

2

Version

1.0.1

License

WTFPL

Unpacked Size

770 B

Total Files

5

Last publish

Collaborators

  • easrng