Skip to content

Commit

Permalink
Remove daemon-off flag
Browse files Browse the repository at this point in the history
Closes #1
  • Loading branch information
255kb committed Feb 13, 2024
1 parent a39fdf2 commit bd9c032
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
- name: Run Mockoon CLI
uses: mockoon/cli-action@v1
uses: mockoon/cli-action@v2
with:
version: "latest"
port: "3000"
Expand Down
3 changes: 1 addition & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ runs:
steps:
- name: "Run Mockoon CLI"
shell: bash
# keep --daemon-off to ensure compatiblity with <4.0.0
# use & to run in background for >4.0.0
run: |
npm install -g @mockoon/cli@${{ inputs.version }}
mockoon-cli start --daemon-off --data ${{ inputs.data-file }} --port ${{ inputs.port }} &
mockoon-cli start --data ${{ inputs.data-file }} --port ${{ inputs.port }} &

0 comments on commit bd9c032

Please sign in to comment.