Github Actions Reporter
A Github actions reporter for node:test
Installation
npm install --save-dev @reporters/githubor
yarn add --dev @reporters/githubUsage
# .github/workflows/test.yml
- name: Run tests
run: node --test \
--test-reporter=@reporters/github --test-reporter-destination=stdout \
--test-reporter=spec --test-reporter-destination=stdoutResult
when test failed, annotations will be added inside the github UI, with corresponding errors and diagnostics. see example run:
Inline annotations

additionally, Annotations and summary will be added to the summary of the test run.
Annotations
