retry-on-ci
v0.1.2
Published
Retries a command but only in CI
Readme
retry-on-ci
This is an npm package you can use in npm scripts to retry commands, but only in a CI environment.
{
"scripts": {
"test": "retry-on-ci jest"
}
}
Environment variables
CI
- Set totrue
when running in a CI environment. Most CI environments such as GitHub Actions set this by default.CI_RETRIES
- Number of retries, defaults to 3CI_TIMEOUT
- Timeout for command, defaults to 10 minutes