readme: Add more information on where they can report missing CI
All checks were successful
/ deploy (push) Successful in 26s
All checks were successful
/ deploy (push) Successful in 26s
This commit is contained in:
parent
9fb1f9e926
commit
a79e6cca09
2 changed files with 6 additions and 2 deletions
|
@ -2,6 +2,10 @@
|
||||||
|
|
||||||
Returns true if code is running inside CI, otherwise false.
|
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
|
# API
|
||||||
|
|
||||||
`const inside = require('inside-ci')`
|
`const inside = require('inside-ci')`
|
||||||
|
@ -12,7 +16,7 @@ Returns true if code is running inside CI, otherwise false.
|
||||||
|
|
||||||
Returns error code 0 if inside CI.
|
Returns error code 0 if inside CI.
|
||||||
|
|
||||||
* `in-ci && echo 'running inside CI'`
|
`in-ci && echo 'running inside CI'`
|
||||||
|
|
||||||
## `not-ci`
|
## `not-ci`
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "inside-ci",
|
"name": "inside-ci",
|
||||||
"version": "2.0.0",
|
"version": "2.0.1",
|
||||||
"description": "Quick tool to check if we are inside CI",
|
"description": "Quick tool to check if we are inside CI",
|
||||||
"main": "in.js",
|
"main": "in.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Loading…
Reference in a new issue