From: Jérôme Benoit Date: Sat, 15 Oct 2022 16:25:36 +0000 (+0200) Subject: Refine CI GitHub actions X-Git-Tag: v1.1.84~7 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=46df94cf75de62d4615f34afd07be17422f2b3bd;p=e-mobility-charging-stations-simulator.git Refine CI GitHub actions Signed-off-by: Jérôme Benoit --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d38f3cc5..9d62b62f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: continue-on-error: true - name: npm run build if: "matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'" - run: npm run build + run: npm run build --if-present - name: npm test if: "matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'" run: npm test @@ -63,7 +63,7 @@ jobs: run: npm run lint continue-on-error: true - name: npm run build - run: npm run build + run: npm run build --if-present - name: npm test run: npm test # - name: npm run coverage