Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
feat!: Require Node.js ^18.18.0 || ^20.9.0 || >=21.1.0 (#115)
Browse files Browse the repository at this point in the history
* feat!: Require Node.js ^18.18.0 || ^20.9.0 || >=21.1.0

refs: eslint/eslint#17595
Signed-off-by: 唯然 <[email protected]>

* Update ci.yml

---------

Signed-off-by: 唯然 <[email protected]>
  • Loading branch information
aladdin-add authored Jan 2, 2024
1 parent 2122fdb commit ed67857
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16.x'
node-version: "lts/*"
- name: Install dependencies
run: npm install
- name: Lint files
Expand All @@ -25,11 +25,16 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [21.x, 20.x, 19.x, 18.x, 17.x, 16.x, 14.x, 12.x, "12.22.0"]
node: [21.x, 20.x, 18.x, "18.18.0"]
include:
- os: windows-latest
node: "lts/*"
- os: macOS-latest
node: "lts/*"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"version": "7.2.2",
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"repository": "eslint/eslint-scope",
"funding": "https://opencollective.com/eslint",
Expand Down

0 comments on commit ed67857

Please sign in to comment.