From c6999afd8cea1803b1fd6a6d4effbbb9687a8e8c Mon Sep 17 00:00:00 2001 From: Jesse Wright <63333554+jeswr@users.noreply.github.com> Date: Sun, 22 Sep 2024 01:22:20 +0200 Subject: [PATCH] chore: only lint on node 22 --- .github/workflows/ci.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a6a212d..406508d5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,9 +17,24 @@ jobs: - uses: actions/checkout@v4 - run: npm ci --ignore-scripts - run: npm run build - - run: npm run lint - run: npm run test - + + lint: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + node-version: [22.x] + steps: + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + - uses: actions/checkout@v4 + - run: npm ci --ignore-scripts + - run: npm run build + - run: npm run lint + spec: runs-on: ubuntu-latest strategy: @@ -60,6 +75,7 @@ jobs: - test - spec - docs + - lint runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags/v') steps: