Socket
Socket
Sign inDemoInstall

@reporters/github

Package Overview
Dependencies
2
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@reporters/github


Version published
Maintainers
1
Created

Readme

Source

npm version tests codecov

Github Actions Reporter

A Github actions reporter for node:test

Installation

npm install --save-dev @reporters/github

or

yarn add --dev @reporters/github

Usage

# .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

Result

when test failed, annotations will be added inside the github UI, with corresponding errors and diagnostics. see example run:

Inline annotations
Inline Annotation

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

Annotations
Annotation
Summary
Summary

Keywords

FAQs

Last updated on 14 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc