@netlify/content-engine
Version:
11 lines • 420 B
TypeScript
/**
* Determines whether the environment where the code is running is in CI
* @return true if the environment is in CI, false otherwise
*/
export declare function isCI(): boolean;
/**
* Gets the name of the CI environment (e.g. "Vercel", "Heroku", etc.)
* @return The name of the CI if available. Defaults to null if not in CI
*/
export declare function getCIName(): string | null;
//# sourceMappingURL=ci.d.ts.map