* Steps to run during PR builds.
()
| 21 | * Steps to run during PR builds. |
| 22 | */ |
| 23 | function prBuildWorkflow() { |
| 24 | if (buildTargetsInclude(Targets.RUNTIME)) { |
| 25 | timedExecOrDie('amp bundle-size --on_pr_build'); |
| 26 | } else { |
| 27 | timedExecOrDie('amp bundle-size --on_skipped_build'); |
| 28 | skipDependentJobs(jobName, 'this PR does not affect the runtime'); |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | runCiJob(jobName, pushBuildWorkflow, prBuildWorkflow); |
nothing calls this directly
no test coverage detected