| 270 | } |
| 271 | |
| 272 | const phase: WorkflowHooks['phase'] = title => { |
| 273 | if (ctx.currentPhase) { |
| 274 | emit({ type: 'phase_done', phase: ctx.currentPhase }) |
| 275 | } |
| 276 | ctx.currentPhase = title |
| 277 | emit({ type: 'phase_started', phase: title }) |
| 278 | } |
| 279 | |
| 280 | const log: WorkflowHooks['log'] = message => { |
| 281 | emit({ type: 'log', message }) |
no test coverage detected