ci-env

Environment variables exposed by CI tools

MIT 22 个版本
安装
npm install ci-env
yarn add ci-env
pnpm add ci-env
bun add ci-env
README


Environment variables exposed by CI tools

 

Supports travis, circle, gitlab, wercker, drone, codeship, now(zeit), netlify, GitHub Actions, Buddy, Codefresh and Cloudflare Pages.

Kinda supports custom CI as well. Specs here

 

Installation

npm install ci-env

 

Usage

const { repo, sha, event, commit_message, pull_request_number, branch, ci } = require('ci-env')

 

like it?

⭐️ this repo

 

License

MIT © siddharthkp

版本列表
1.17.0 2021-10-25
1.16.0 2020-06-06
1.15.0 2020-05-14
1.14.0 2020-05-06
1.13.0 2020-05-02
1.12.0 2019-11-27
1.11.1 2019-11-04
1.11.0 2019-09-12
1.10.0 2019-08-14
1.9.0 2019-06-20
1.8.0 2019-04-25
1.7.0 2018-11-22
1.6.1 2018-05-23
1.6.0 2018-03-13
1.5.2 2017-11-10
1.5.1 2017-11-09
1.5.0 2017-11-09
1.4.0 2017-07-25
1.3.0 2017-07-24
1.2.0 2017-07-15
1.1.0 2017-07-12
1.0.0 2017-07-12