Compare commits

..

No commits in common. "master" and "inside-ci_v2.0.0" have entirely different histories.

2 changed files with 2 additions and 6 deletions

View file

@ -2,10 +2,6 @@
Returns true if code is running inside CI, otherwise false.
This also works as a drop-in replacement for anyone currently using `is-ci`.
If your CI is not being detected, feel free to [add an issue for it](https://git.nfp.is/TheThing/inside-ci/issues) or hit me up on [X (formerly Twitter)](https://x.com/TheThing89) or on discord as `thething_89`.
# API
`const inside = require('inside-ci')`
@ -16,7 +12,7 @@ If your CI is not being detected, feel free to [add an issue for it](https://git
Returns error code 0 if inside CI.
`in-ci && echo 'running inside CI'`
* `in-ci && echo 'running inside CI'`
## `not-ci`

View file

@ -1,6 +1,6 @@
{
"name": "inside-ci",
"version": "2.0.1",
"version": "2.0.0",
"description": "Quick tool to check if we are inside CI",
"main": "in.js",
"scripts": {