From 9c9e0e4871ea5a15cd830f75dd0a35504c0cc525 Mon Sep 17 00:00:00 2001 From: Lars Strojny Date: Tue, 8 Nov 2022 22:13:36 +0100 Subject: [PATCH] Allow lint failure for older versions --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3ee85ea..808b6f6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,11 @@ jobs: fail-fast: false matrix: # the Node.js versions to build on - node-version: [13.x, 14.x, 15.x, 16.x, 17.x, 18.x] + node-version: [14.x, 16.x, 17.x, 18.x] + fail-on-lint: [true] + include: + - { node-version: 13.x, fail-on-lint: false } + - { node-version: 15.x, fail-on-lint: false } steps: - uses: actions/checkout@v3 @@ -25,6 +29,7 @@ jobs: - name: Lint the project run: npm run lint + continue-on-error: ${{ ! matrix.fail-on-lint }} - name: Build the project run: npm run build