MCPcopy Create free account
hub / github.com/ampproject/amphtml / circleciIsParallelized

Function circleciIsParallelized

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

* Returns true for parallelized CircleCI builds. * @return {boolean}

()

Source from the content-addressed store, hash-verified

203 * @return {boolean}
204 */
205function circleciIsParallelized() {
206 return isCircleci && env('CIRCLE_NODE_TOTAL') != '1';
207}
208
209/**
210 * Returns the parallelized build's shard number.

Callers 1

maybeParallelizeCommandFunction · 0.85

Calls 1

envFunction · 0.70

Tested by

no test coverage detected