From: Jérôme Benoit Date: Sat, 15 Oct 2022 15:33:41 +0000 (+0200) Subject: Fix CI conditions on jobs X-Git-Tag: v1.1.84~9 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=fc00457c7751ad71d67a52670e2ed6f50827d133;p=e-mobility-charging-stations-simulator.git Fix CI conditions on jobs Signed-off-by: Jérôme Benoit --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5cb56c81..4caa5d1c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,10 +26,10 @@ jobs: run: npm run lint continue-on-error: true - name: npm run build - if: "matrix.os != 'windows-latest' || (matrix.node != '16.x' && matrix.node != '18.x)" + if: "matrix.os == 'ubuntu-latest' && matrix.os == 'macos-latest'" run: npm run build - name: npm test - if: "matrix.os != 'windows-latest' || (matrix.node != '16.x' && matrix.node != '18.x)" + if: "matrix.os == 'ubuntu-latest' && matrix.os == 'macos-latest'" run: npm test - name: npm run coverage if: "github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '16.x'"