0.1.2 • Published 7 months ago

retry-on-ci v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

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 to true when running in a CI environment. Most CI environments such as GitHub Actions set this by default.
  • CI_RETRIES - Number of retries, defaults to 3
  • CI_TIMEOUT- Timeout for command, defaults to 10 minutes
0.1.2

7 months ago

0.1.1

7 months ago

0.1.0

7 months ago