ci-env
Version:
Environment variables exposed by CI tools
41 lines (25 loc) • 703 B
Markdown
<p align="center">
<br>
<b>Environment variables exposed by CI tools</b>
<br><br>
<img src="https://travis-ci.org/siddharthkp/ci-env.svg?branch=master&maxAge=3600"/>
</p>
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](https://github.com/siddharthkp/ci-env/blob/master/index.js#L68-L79)
#### Installation
```
npm install ci-env
```
#### Usage
```js
const { repo, sha, event, commit_message, pull_request_number, branch, ci } = require('ci-env')
```
#### like it?
⭐️ this repo
#### License
MIT © siddharthkp