2.0.1 • Published 8 months ago

inside-ci v2.0.1

Weekly downloads
-
License
WTFPL
Repository
-
Last release
8 months ago

inside-ci

Returns true if code is running inside CI, otherwise false.

This also works as a drop-in replacement for anyone currently using is-ci.

If your CI is not being detected, feel free to add an issue for it or hit me up on X (formerly Twitter) or on discord as thething_89.

API

const inside = require('inside-ci')

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

2.0.1

8 months ago

2.0.0

8 months ago

1.1.2

8 months ago

1.1.1

8 months ago

1.1.0

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago