Skip to content

Commit

Permalink
feat!: drop support for old node versions (<18, 19, 21) (#885)
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi authored Oct 21, 2024
1 parent 228500f commit ce2ffad
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
5 changes: 5 additions & 0 deletions .changeset/olive-wolves-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"eslint-plugin-svelte": major
---

feat!: drop support for old node versions (<18, 19, 21)
14 changes: 2 additions & 12 deletions .github/workflows/NodeCI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
matrix:
os: [ubuntu-latest]
eslint: [7, 8, 9]
node: [20]
node: [18.x, 20.x, 22.x, latest]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -87,14 +87,6 @@ jobs:
os: [ubuntu-latest]
eslint: [9]
node: [18, 20, 22]
include:
# On old Node.js version
- eslint: 8
node: 16
os: ubuntu-latest
- eslint: 8
node: 17
os: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -124,7 +116,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [14]
node: [18]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -183,8 +175,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 resources
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"funding": "https://github.com/sponsors/ota-meshi",
"license": "MIT",
"engines": {
"node": "^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 ce2ffad

Please sign in to comment.