Compare commits

...

1 commit

Author SHA1 Message Date
a79e6cca09 readme: Add more information on where they can report missing CI
All checks were successful
/ deploy (push) Successful in 26s
2024-11-22 06:12:55 +00:00
2 changed files with 6 additions and 2 deletions

View file

@ -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`

View file

@ -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": {