UNPKG

gatsby-core-utils

Version:

A collection of gatsby utils used in different gatsby packages

11 lines (10 loc) 388 B
/** * 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;