From 8bf35c39cf0b05a94eadc16ec5c7584f25543586 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Mon, 7 Apr 2025 10:11:33 +0200 Subject: [PATCH] ci: extract linting to a parallel job MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Stop running linters for every Node.js version we support. It's enough to run linters on a single Node.js version. This should fix the CI failure in #710 caused by a linter crash on Node.js v18. Signed-off-by: Miroslav Bajtoš --- .github/workflows/ci.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 709732c4..3510f6f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,11 +20,17 @@ jobs: node-version: ${{ matrix.node }} - run: npm ci --omit=dev - run: npm ci - - run: npm run test:types - - run: npm run test:lint - if: matrix.os != 'windows-latest' - run: npm run test:unit + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + - run: npm ci + - run: npm run test:types + - run: npm run lint + test-locales: runs-on: ubuntu-latest strategy: