Skip to content

Remove daemon-off flag #19

Remove daemon-off flag

Remove daemon-off flag #19

Workflow file for this run

name: Test
on:
push:
branches:
- main
jobs:
test-cli-action:
name: Test Mockoon CLI GitHub Action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- name: Run Mockoon CLI
uses: mockoon/cli-action@v2
with:
version: "latest"
port: "3000"
data-file: "https://raw.githubusercontent.com/mockoon/mock-samples/main/samples/generate-mock-data.json"
- name: Make test call
run: |
curl -f -X GET http://localhost:3000/posts