isCI
isCI(
env?):boolean
Defined in: is-ci.ts:9
Whether the process is running inside CI. GitHub Actions and most other providers set CI=true; any other non-empty
value counts too, except false and 0.
Parameters
Section titled “Parameters”Record<string, string | undefined> = process.env
Returns
Section titled “Returns”boolean
Example
Section titled “Example”isCI({ CI: "true" }); // trueisCI({ CI: "false" }); // false