Skip to content

Commit

Permalink
chore!: Update node versions to align with eslint v9 (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
scagood authored Jul 24, 2024
1 parent 84334f4 commit 8a981d2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,27 +41,23 @@ jobs:
strategy:
matrix:
eslint: [8]
node: [12.22.0, 12, 14.17.0, 14, 16.0.0, 16, 18, 20]
node: [18.18.0, 20.9.0, 21.1.0, 22]
os: [ubuntu-latest]
include:
# ESLint v9
- eslint: 9
node: 20
node: 22
os: ubuntu-latest
# On other platforms
- os: windows-latest
eslint: 8
node: 18
node: 22
- os: macos-latest
eslint: 8
node: 18
# On old ESLint versions
- eslint: 7
node: 18
os: ubuntu-latest
node: 22
# On the minimum supported ESLint/Node.js version
- eslint: 7.0.0
node: 12.22.0
node: 18.18.0
os: ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"eslint": "^7.0.0 || ^8.0.0 || ^9.0.0"
},
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": "https://opencollective.com/eslint"
}

0 comments on commit 8a981d2

Please sign in to comment.