Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@reporters/github

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@reporters/github

A github actions reporter for `node:test`

  • 1.7.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7.7K
increased by29.84%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 10 Sep 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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc