A github actions reporter for `node:test`
npm install @reporters/github !tests 
node:test``bash`
npm install --save-dev @reporters/github`
orbash`
yarn add --dev @reporters/github
`yaml``.github/workflows/test.yml
- name: Run tests
run: node --test \
--test-reporter=@reporters/github --test-reporter-destination=stdout \
--test-reporter=spec --test-reporter-destination=stdout
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

#### Summary