@cypress/set-commit-status

中文文档
1.3.4发布于 2019/04/23ISCTypeScriptCommonJS近 30 天下载 2300

Set GitHub commit status

原始使用文档

@cypress/set-commit-status

Small utility for setting GitHub commit status based on GH app installation

This utility is meant to be used by GitHub App installations. Thus your environment should have the following 3 pieces of authentication information set as environment variables:

  • GH_APP_ID
  • GH_INSTALLATION_ID
  • GH_PRIVATE_KEY

The GH_PRIVATE_KEY is the base64-encoded private key. For example, if you copy the contents of the private "pem" file into your clipboard, from the terminal you can execute "pbpaste | base64 | pbcopy" and get the encoded string in the clipboard.

Debugging

Run with environment variable DEBUG=@cypress/set-commit-status to see more log messages

版本与发布记录

@cypress/set-commit-status 共发布 9 个版本,首次发布于 2019/04/16;过去 12 个月发布了 0 个版本。

版本发布日期距今
1.3.4latest2019/04/237 年前
1.3.32019/04/237 年前
1.3.22019/04/237 年前
1.3.12019/04/237 年前
1.3.02019/04/237 年前
1.2.02019/04/227 年前

关于 @cypress/set-commit-status 的常见问题

@cypress/set-commit-status 是什么?

Set GitHub commit status

如何安装 @cypress/set-commit-status?

在项目目录运行 npm install @cypress/set-commit-status,或使用 pnpm add / yarn add / bun add。

@cypress/set-commit-status 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@cypress/set-commit-status 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@cypress/set-commit-status 可以商用吗?

@cypress/set-commit-status 使用 ISC 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@cypress/set-commit-status 的下载量有多少?

根据 npm 官方下载统计,@cypress/set-commit-status 在 2026/10/11 – 2026/11/09 这 30 天内被下载 2,300 次,日均约 77 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@cypress/set-commit-status 还在维护吗?

最新版本 1.3.4 发布于 2019/04/23(7 年前);至今共发布 9 个版本,其中过去 12 个月发布了 0 个;首次发布于 2019/04/16。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。