MCPcopy
hub / github.com/ampproject/amphtml / isCiBuild

Function isCiBuild

build-system/common/ci.js:24–26  ·  view source on GitHub ↗

* Returns true if this is a CI build. * @return {boolean}

()

Source from the content-addressed store, hash-verified

22 * @return {boolean}
23 */
24function isCiBuild() {
25 return !!env('CI');
26}
27
28/**
29 * Returns true if this is a GitHub Actions build.

Callers 15

ensureUpdatedPackagesFunction · 0.85
karma.conf.jsFile · 0.85
determineBuildTargetsFunction · 0.85
printChangeSummaryFunction · 0.85
babelPluginTestsFunction · 0.85
parseExtensionFlagsFunction · 0.85
startStorybookFunction · 0.85
buildStorybookFunction · 0.85
decodePercyTokenForCiFunction · 0.85
setPercyBranchFunction · 0.85
setPercyTargetCommitFunction · 0.85

Calls 1

envFunction · 0.70

Tested by

no test coverage detected