From bd9c032f5d8b6571bd4de36854d9dccdafc93e8b Mon Sep 17 00:00:00 2001 From: Guillaume Date: Tue, 13 Feb 2024 20:46:20 +0100 Subject: [PATCH] Remove daemon-off flag Closes #1 --- .github/workflows/ci.yml | 4 ++-- action.yml | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d0f87cd..1298337 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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" diff --git a/action.yml b/action.yml index e536f98..6669f7a 100644 --- a/action.yml +++ b/action.yml @@ -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 }} &