* Steps to run during push builds.
()
| 32 | * Steps to run during push builds. |
| 33 | */ |
| 34 | function pushBuildWorkflow() { |
| 35 | prependConfig(); |
| 36 | try { |
| 37 | timedExecOrThrow( |
| 38 | `amp integration --nobuild --headless --minified --config=${argv.config}`, |
| 39 | 'Integration tests failed!' |
| 40 | ); |
| 41 | } catch (e) { |
| 42 | if (e.status) { |
| 43 | process.exitCode = e.status; |
| 44 | } |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | /** |
| 49 | * Steps to run during PR builds. |
nothing calls this directly
no test coverage detected