Skip to content

Commit

Permalink
feat!: drop support for old node versions (<18, 19, 21) (#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi authored Oct 21, 2024
1 parent f0e9565 commit 4ac8236
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .changeset/popular-waves-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"svelte-eslint-parser": major
---

feat!: drop support for old node versions (<18, 19, 21)
8 changes: 3 additions & 5 deletions .github/workflows/NodeCI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 17.x, 18.x, 19.x, 20.x]
node-version: [18.x, 20.x, 22.x, latest]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
node-version: [18.x]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
node-version: [18.x]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
Expand All @@ -129,8 +129,6 @@ jobs:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Install Packages
run: pnpm install
- name: Update fixtures
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,8 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v2

- name: Setup Node.js 16
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 16

- name: Install Dependencies
run: pnpm install
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"license": "MIT",
"packageManager": "[email protected]",
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
"node": "^18.20.4 || ^20.18.0 || >=22.10.0"
},
"type": "commonjs",
"main": "lib/index.js",
Expand Down

0 comments on commit 4ac8236

Please sign in to comment.