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

@ones-design/coverage-report

Package Overview
Dependencies
Maintainers
0
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ones-design/coverage-report

ONES Design Coverage Report Action

  • 0.5.0-beta.1
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
0
Weekly downloads
 
Created
Source

@ones-design/coverage-report

ONES Design 覆盖率扫描工具。

Usage

Parameters

参数名描述是否必须默认值
github-tokenGitHub token,用于获取PR信息和评论${{ github.token }}
paths扫描入口路径ONES 业务仓库路径
mode运行模式,可选值为 prsinglepr
pr-numberPR 编号,当模式为 pr 时必须。${{ github.event.pull_request.number }}
artifact-retention-days构建产物保留天数30
work-wechat-token企业微信通知机器人 tokenONES 前端群 token
additional-notification额外的通知信息

PR Mode

pr 模式下运行时,会根据当前传入的 pr-number 拉去变更文件,在 当前工作区 切换分支,扫描变更文件并输出对比报告。

Single Mode

single 模式下将会扫描本地 paths 代码,直接输出覆盖率报告。

此模式下 Action 不关心分支,所以最终报告不包含分支信息,可以通过 additional-notification 补充。

Keywords

FAQs

Package last updated on 21 Aug 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