From 64e284d892ad1ce6b121ce1438790b609d58a460 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 15 Oct 2022 17:29:42 +0200 Subject: [PATCH] Fix conditions on CI job MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 159de8d4..5cb56c81 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 != 'windows-latest' || (matrix.node != '16.x' && matrix.node != '18.x)" run: npm run build - name: npm test - if: "matrix.os != 'windows-latest' || matrix.node != '16.x' || matrix.node != '18.x" + if: "matrix.os != 'windows-latest' || (matrix.node != '16.x' && matrix.node != '18.x)" run: npm test - name: npm run coverage if: "github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '16.x'" -- 2.34.1