- ciPlatform(env?): {
isCI: true;
metadata: Metadata;
name: string;
} | {
isCI: false;
metadata?: undefined;
name?: undefined;
} Parameters
- env: ProcessEnv = process.env
Returns {
isCI: true;
metadata: Metadata;
name: string;
} | {
isCI: false;
metadata?: undefined;
name?: undefined;
}
The CI platform info.
Gets info on the CI platform the CLI is running on, if applicable.