Skip to content

jamiebuilds/ci-parallel-vars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ci-parallel-vars

Get CI environment variables for parallelizing builds

Install

yarn add ci-parallel-vars

Usage

const ciParallelVars = require('ci-parallel-vars');

console.log(ciParallelVars); // { index: 3, total: 10 } || null

Supports

If you want to add support for another pair, please open a pull request and add them to index.js and to this list.

One of these pairs must both be defined as numbers or ci-parallel-vars will be null.

About

Get CI environment variables for parallelizing builds

Resources

License

Stars

Watchers

Forks

Packages

No packages published