From: Jérôme Benoit Date: Sat, 15 Oct 2022 19:13:34 +0000 (+0200) Subject: CI: move linting after installation X-Git-Tag: v2.3.4~12 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=a34ce9a052739a56d764ba1aa3ede8d19aded4e3;p=poolifier.git CI: move linting after installation Signed-off-by: Jérôme Benoit --- 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