(actions: TT.StepActions, tutorialId: string)
| 12 | |
| 13 | // run at the end of when a tutorial is configured |
| 14 | export const onInit = async (actions: TT.StepActions, tutorialId: string): Promise<void> => { |
| 15 | await loadCommits(actions?.commits) |
| 16 | await runCommands(actions?.commands) |
| 17 | await runVSCodeCommands(actions?.vscodeCommands) |
| 18 | webhooks.onInit({ |
| 19 | tutorialId, |
| 20 | coderoadVersion: VERSION, |
| 21 | }) |
| 22 | } |
| 23 | |
| 24 | // run when a level starts |
| 25 | export const onLevelEnter = async (actions: TT.StepActions): Promise<void> => { |
nothing calls this directly
no test coverage detected