Skip to content

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.

Record<string, string | undefined> = process.env

boolean

isCI({ CI: "true" }); // true
isCI({ CI: "false" }); // false