MCPcopy Index your code
hub / github.com/ampproject/amphtml / prBuildWorkflow

Function prBuildWorkflow

build-system/pr-check/unminified-build.js:28–38  ·  view source on GitHub ↗

* Steps to run during PR builds.

()

Source from the content-addressed store, hash-verified

26 * Steps to run during PR builds.
27 */
28function prBuildWorkflow() {
29 if (buildTargetsInclude(Targets.RUNTIME, Targets.INTEGRATION_TEST)) {
30 timedExecOrDie('amp build --fortesting');
31 storeBuildOutputToWorkspace();
32 } else {
33 skipDependentJobs(
34 jobName,
35 'this PR does not affect the runtime or integration tests'
36 );
37 }
38}
39
40runCiJob(jobName, pushBuildWorkflow, prBuildWorkflow);

Callers

nothing calls this directly

Calls 3

buildTargetsIncludeFunction · 0.85
skipDependentJobsFunction · 0.85

Tested by

no test coverage detected