c
GithubReporter
GitHub Actions reporter: spec output, plus a ::error workflow command per failure so the
failure is annotated inline on the PR diff.
-
onRunEnd(): voidcontext: ReporterContext,info: RunEndInfo
Delegates the summary + failure recap to the spec renderer.
-
onRunStart(): voidcontext: ReporterContext,info: RunStartInfo
Delegates the run banner to the spec renderer.
-
onTestEnd(): voidcontext: ReporterContext,details: TestDetails
Renders the spec line, then annotates each failing assertion for the PR diff.
f
annotation(): string
title: string,
failure: FailureInfo
Builds one ::error file=…,line=…,col=…,title=…::message workflow command.
Usage
import * as mod from "lib/reporters/github.ts";