MCPcopy Create free account
hub / github.com/code-pushup/cli / isCI

Function isCI

packages/utils/src/lib/env.ts:10–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8} from '@code-pushup/models';
9
10export function isCI() {
11 return isEnvVarEnabled('CI');
12}
13
14export function isEnvVarEnabled(name: string): boolean {
15 const value = coerceBooleanValue(process.env[name]);

Callers

nothing calls this directly

Calls 1

isEnvVarEnabledFunction · 0.85

Tested by

no test coverage detected