GitLab CI Variables
A package which parses the predefined variables set by GitLab CI, providing a structured object (with TypeScript definitions) representing the data from the environment.
Installation
npm install gitlab-ci-variables
Usage
; if isGitLabCI ;// variables === undefined iff !isGitLabCI()if variables
See the packaged TypeScript definitions for a full list of properties. Alternatively, see the Variables
interface in the source code.