Skip to content

Commit

Permalink
Drop support for node 16
Browse files Browse the repository at this point in the history
  • Loading branch information
calebeby committed Sep 20, 2023
1 parent 6164ae1 commit c2fe380
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/sweet-mugs-shake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@cloudfour/eslint-plugin': major
---

Drop support for node 16. Now only node 18+ is supported
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 16
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- name: Cache node modules
uses: actions/cache@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
# Fetch all git history for correct changelog commits
fetch-depth: 0

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

- name: Install Dependencies
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!src/rules/**/*.test.js"
],
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"keywords": [
"eslint",
Expand Down

0 comments on commit c2fe380

Please sign in to comment.