From a34ce9a052739a56d764ba1aa3ede8d19aded4e3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 15 Oct 2022 21:13:34 +0200 Subject: [PATCH] CI: move linting after installation 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 | 6 +++--- .github/workflows/npmpublish.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d9233944..63f2552b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,12 +35,12 @@ jobs: - name: Install run: npm ci - - name: Build - run: npm run build --if-present - - name: Lint run: npm run lint + - name: Build + run: npm run build --if-present + - name: Tests if: "matrix.os != 'windows-latest' || matrix.node != '18.x'" run: npm run test diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 6b1a3731..e05691eb 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -20,14 +20,14 @@ jobs: - name: Install run: npm ci + - name: Lint + run: npm run lint + - name: Tests & Coverage run: | npm run test npm run coverage - - name: Lint - run: npm run lint - - name: Production Build run: npm run build:prod -- 2.34.1