https://github.com/stepci/stepci
Step CI is an open-source tool, which helps you automate API testing and monitoring
→ Join us on GitHub Discussions
Install the CLI from [NPM](<https://www.npmjs.com/package/stepci>)
```
npm install -g stepci
```
>
>
>
> Note: Make sure you're using the LTS version of [Node.js](<https://nodejs.org/en/>)
>
Create example workflow
**workflow.yml**
```
version: "1.1"
name: Status Check
env:
host: example.com
tests:
example:
steps:
- name: GET request
http:
url: https://{{env.host}}
method: GET
check:
status: /^20/
```
>
>
>
> Note: You can also also use JSON format to configure your workflow
>
Run the workflow
```
stepci run workflow.yml
```
```
PASS example
Tests: 0 failed, 1 passed, 1 total
Steps: 0 failed, 1 passed, 1 total
Time: 0.559s, estimated 1s
Workflow passed after 0.559s
```
Documentation is available on docs.stepci.com
You can find a collection of Step CI example tests under examples/