Skip to content

Commit 4ac8236

Browse files
authored
feat!: drop support for old node versions (<18, 19, 21) (#579)
1 parent f0e9565 commit 4ac8236

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

.changeset/popular-waves-live.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"svelte-eslint-parser": major
3+
---
4+
5+
feat!: drop support for old node versions (<18, 19, 21)

.github/workflows/NodeCI.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
strategy:
2525
matrix:
26-
node-version: [16.x, 17.x, 18.x, 19.x, 20.x]
26+
node-version: [18.x, 20.x, 22.x, latest]
2727
steps:
2828
- uses: actions/checkout@v4
2929
- uses: pnpm/action-setup@v2
@@ -67,7 +67,7 @@ jobs:
6767
runs-on: ubuntu-latest
6868
strategy:
6969
matrix:
70-
node-version: [14.x]
70+
node-version: [18.x]
7171
steps:
7272
- uses: actions/checkout@v4
7373
- uses: pnpm/action-setup@v2
@@ -107,7 +107,7 @@ jobs:
107107
runs-on: ubuntu-latest
108108
strategy:
109109
matrix:
110-
node-version: [14.x]
110+
node-version: [18.x]
111111
steps:
112112
- uses: actions/checkout@v4
113113
- uses: pnpm/action-setup@v2
@@ -129,8 +129,6 @@ jobs:
129129
- uses: actions/checkout@v4
130130
- uses: pnpm/action-setup@v2
131131
- uses: actions/setup-node@v4
132-
with:
133-
node-version: 18
134132
- name: Install Packages
135133
run: pnpm install
136134
- name: Update fixtures

.github/workflows/Release.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,8 @@ jobs:
2424
- name: Setup pnpm
2525
uses: pnpm/action-setup@v2
2626

27-
- name: Setup Node.js 16
27+
- name: Setup Node.js
2828
uses: actions/setup-node@v4
29-
with:
30-
node-version: 16
3129

3230
- name: Install Dependencies
3331
run: pnpm install

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"license": "MIT",
1313
"packageManager": "[email protected]",
1414
"engines": {
15-
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
15+
"node": "^18.20.4 || ^20.18.0 || >=22.10.0"
1616
},
1717
"type": "commonjs",
1818
"main": "lib/index.js",

0 commit comments

Comments
 (0)