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
npm install ci-env
const { repo, sha, event, commit_message, pull_request_number, branch, ci } = require('ci-env')
⭐️ this repo
MIT © siddharthkp