Skip to content

siddharthkp/ci-env

Repository files navigation


Environment variables exposed by CI tools

 

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

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