313 B
313 B
inside-ci
Quick tool to check if we are inside a CI environment
API
insideCi()
Returns true if inside CI. Otherwise returns false.
CLI
inside-ci
or in-ci
Returns error code 0 if inside CI.
in-ci && echo 'running inside CI'
not-ci
Inverse of the above:
not-ci && husky install