Skip to content

Commit

Permalink
feat!: drop node v12 support
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed Dec 22, 2022
1 parent c560b14 commit 3ef5f19
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 6 additions & 8 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,15 @@ 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'
- os: ubuntu-latest
node: '14.x'
- os: ubuntu-latest
node: '17.x'
node: '16.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 3ef5f19

Please sign in to comment.