Allow lint failure for older versions
This commit is contained in:
parent
1f1db91809
commit
9c9e0e4871
1 changed files with 6 additions and 1 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
@ -10,7 +10,11 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
# the Node.js versions to build on
|
# 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:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -25,6 +29,7 @@ jobs:
|
||||||
|
|
||||||
- name: Lint the project
|
- name: Lint the project
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
|
continue-on-error: ${{ ! matrix.fail-on-lint }}
|
||||||
|
|
||||||
- name: Build the project
|
- name: Build the project
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
Loading…
Reference in a new issue