Function: detectCI()
function detectCI(env?): string | undefined;
Defined in: src/no-docker.ts:90
The CI/CD variable set in env, if any – CI, GITHUB_ACTIONS, GITLAB_CI, JENKINS_URL, …;
values "", "0" and "false" do not count.
Parameters
| Parameter | Type | Default value |
|---|---|---|
env? | { [key: string]: string | undefined; } | process.env |
Returns
string | undefined