Skip to content

Commit

Permalink
feat!: drop node v12/v13/v14/v15/v17 support
Browse files Browse the repository at this point in the history
Drop Node 12 support (end-of-life 2022-04-30)
Drop Node 13 support (end-of-life 2020-06-01)
Drop Node 14 support (end-of-life 2023-04-30)
Drop Node 15 support (end-of-life 2021-06-01)
Drop Node 17 support (end-of-life 2022-06-01)

refs: #121
  • Loading branch information
aladdin-add committed Mar 23, 2023
1 parent 804f596 commit 38fbed3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ jobs:
lint-and-dedupe:
runs-on: ubuntu-latest

name: Lint & Deduplicate deps on node 16.x and ubuntu-latest
name: Lint & Deduplicate deps on node 18.x and ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Use Node 16.x
- name: Use Node 18.x
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
- name: npm latest
run: npm i -g npm@latest

Expand All @@ -34,17 +34,13 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['16.x']
node: ['18.x']
os: [ubuntu-latest, windows-latest, macOS-latest]
include:
- os: ubuntu-latest
node: '12.x'
node: '16.x'
- os: ubuntu-latest
node: '14.x'
- os: ubuntu-latest
node: '17.x'
- os: ubuntu-latest
node: '18.x'
node: '19.x'
steps:
- name: Checkout repo
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"conf"
],
"engines": {
"node": ">=12.0.0"
"node": "^14.18.0 || >=16.0.0"
},
"dependencies": {
"@babel/core": "^7.20.5",
Expand Down

0 comments on commit 38fbed3

Please sign in to comment.