
Product
Announcing Bun and vlt Support in Socket
Bringing supply chain security to the next generation of JavaScript package managers
@ones-design/coverage-report
Advanced tools
ONES Design 覆盖率扫描工具。
| 参数名 | 描述 | 是否必须 | 默认值 |
|---|---|---|---|
| github-token | GitHub token,用于获取PR信息和评论 | 是 | ${{ github.token }} |
| paths | 扫描入口路径 | 是 | ONES 业务仓库路径 |
| mode | 运行模式,可选值为 pr 或 single | 是 | pr |
| pr-number | PR 编号,当模式为 pr 时必须。 | 否 | ${{ github.event.pull_request.number }} |
| artifact-retention-days | 构建产物保留天数 | 否 | 30 |
| work-wechat-token | 企业微信通知机器人 token | 否 | ONES 前端群 token |
| additional-notification | 额外的通知信息 | 否 | 无 |
pr 模式下运行时,会根据当前传入的 pr-number 拉去变更文件,在 当前工作区 切换分支,扫描变更文件并输出对比报告。
single 模式下将会扫描本地 paths 代码,直接输出覆盖率报告。
此模式下 Action 不关心分支,所以最终报告不包含分支信息,可以通过 additional-notification 补充。
FAQs
ONES Design Coverage Report Action
We found that @ones-design/coverage-report demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?

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.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.