Skip to content

Commit e79cfa4

Browse files
authoredJan 25, 2024
feat!: Require Node.js ^18.18.0 || ^20.9.0 || >=21.1.0 (#589)
* feat!: Require Node.js ^18.18.0 || ^20.9.0 || >=21.1.0 refs: eslint/eslint#17595 Signed-off-by: 唯然 <weiran.zsd@outlook.com> * Update ci.yml --------- Signed-off-by: 唯然 <weiran.zsd@outlook.com>
1 parent 6d30382 commit e79cfa4

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed
 

‎.github/workflows/ci.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
name: Lint
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
- name: Setup Node.js
16-
uses: actions/setup-node@v3
16+
uses: actions/setup-node@v4
1717
with:
1818
node-version: 'lts/*'
1919
- name: Install dependencies
@@ -27,16 +27,16 @@ jobs:
2727
strategy:
2828
matrix:
2929
os: [ubuntu-latest]
30-
node: [21.x, 20.x, 19.x, 18.x, 17.x, 16.x, 14.x, 12.x, "12.22.0"]
30+
node: [21.x, 20.x, 18.x, "18.18.0"]
3131
include:
32-
- os: windows-latest
33-
node: "16.x"
34-
- os: macOS-latest
35-
node: "16.x"
32+
- os: windows-latest
33+
node: "lts/*"
34+
- os: macOS-latest
35+
node: "lts/*"
3636
runs-on: ${{ matrix.os }}
3737
steps:
38-
- uses: actions/checkout@v3
39-
- uses: actions/setup-node@v3
38+
- uses: actions/checkout@v4
39+
- uses: actions/setup-node@v4
4040
with:
4141
node-version: ${{ matrix.node }}
4242
- name: Install dependencies

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"espree.js"
2424
],
2525
"engines": {
26-
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
26+
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
2727
},
2828
"repository": "eslint/espree",
2929
"bugs": {

0 commit comments

Comments
 (0)
Please sign in to comment.