From 46df94cf75de62d4615f34afd07be17422f2b3bd Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 15 Oct 2022 18:25:36 +0200 Subject: [PATCH] Refine CI GitHub actions 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 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 -- 2.34.1