is-this-ci
v0.1.7
Published
Web based report generation based on git log to identify if the commits in this repository seem to represent a continuous integration approach.
Readme
is-this-ci
Web based report generation based on git log to identify if the commits in this repository seem to represent a continuous integration approach.
Installation
Prerequisites:
- Node.js 20+
- Git
Clone and install dependencies:
git clone <repo-url>
cd is-this-ci
npm installUsage
Run the report against a local repository and branch:
npm run is-this-ci -- origin/mainTo write to a custom output path:
npm run is-this-ci -- origin/main --output ./is-this-ci-report.htmlReuse as a local tool
Use this repo as a reusable local CLI by adding a shell alias or running it via npx tsx:
alias is-this-ci='node --loader tsx ./src/cli.ts'Then execute from a git repo:
is-this-ci origin/mainGlobal installation (local repo)
To make this package available system-wide from your local clone:
cd is-this-ci
npm install
npm linkThen run it from any git repository:
is-this-ci origin/mainTo remove the global link later:
npm unlink -g is-this-ciGlobal installation (from a local directory)
If you want a global install without linking:
cd is-this-ci
npm install
npm install -g .Then run it from any git repository:
is-this-ci origin/mainTo remove the global install later:
npm uninstall -g is-this-ciPublish
npm publish