Socket
Book a DemoInstallSign in
Socket

@ugzuzg/cucumber-github-actions-formatter

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ugzuzg/cucumber-github-actions-formatter

Cucumber.js Formatter for GitHub Actions

latest
Source
npmnpm
Version
1.1.1
Version published
Weekly downloads
242
-54.6%
Maintainers
1
Weekly downloads
 
Created
Source

Cucumber.js GitHub Actions Formatter

This formatter logs errors in a way that is recognised by GitHub Actions as annotations.

Install

The build targets Node 16.

$ npm i @ugzuzg/cucumber-github-actions-formatter

Usage

$ cucumber-js -f @ugzuzg/cucumber-github-actions-formatter

Or use Profiles

The formatter produces very little output, though. You will most likely want to use another formatter together with this one. There is a limitation in cucumber-js that only one formatter can output to stdout. Use the following trick to work around that limitation by directing this formatter to a file descriptor of stdout:

$ cucumber-js -f @cucumber/pretty-formatter -f @ugzuzg/cucumber-github-actions-formatter:/proc/self/fd/1

Example

image

FAQs

Package last updated on 12 Apr 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