Skip to content

isCI

isCI(env?): boolean

Defined in: utils/env-utils/dist/with-env-prefix-ws1ZSAub.d.mts:234

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>

boolean

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