Remove daemon-off flag #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |