Skip to content

Commit 5733042

Browse files
authored
Drop support for node 16 (#572)
1 parent 6164ae1 commit 5733042

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

.changeset/sweet-mugs-shake.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@cloudfour/eslint-plugin': major
3+
---
4+
5+
Drop support for node 16. Now only node 18+ is supported

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14-
- name: Use Node.js 16
14+
- name: Use Node.js 18
1515
uses: actions/setup-node@v3
1616
with:
17-
node-version: 16
17+
node-version: 18
1818
- name: Cache node modules
1919
uses: actions/cache@v3
2020
with:

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
# Fetch all git history for correct changelog commits
1717
fetch-depth: 0
1818

19-
- name: Setup Node.js 16.x
19+
- name: Setup Node.js 18.x
2020
uses: actions/setup-node@master
2121
with:
22-
node-version: 16.x
22+
node-version: 18.x
2323

2424
- name: Install Dependencies
2525
run: npm ci

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"!src/rules/**/*.test.js"
2424
],
2525
"engines": {
26-
"node": ">=16.0.0"
26+
"node": ">=18.0.0"
2727
},
2828
"keywords": [
2929
"eslint",

0 commit comments

Comments
 (0)