Skip to content

Commit

Permalink
chore: drop node 16 support (#1254)
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Apr 25, 2023
1 parent 34ef246 commit 6937fd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/node.js.yml
Expand Up @@ -11,20 +11,15 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
- run: npm ci --ignore-scripts
- run: npm run lint

test:
strategy:
matrix:
node-version: [14, 16, 18]
node-version: [16, 18, 20]
os: [ubuntu-latest, macOS-latest, windows-latest]
# Node.js 14 comes with npm 6 which has issues on Windows
# therefore skipping tests on Windows with Node.js 14
exclude:
- os: windows-latest
node-version: 14
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -35,6 +35,6 @@
"typescript": "^4.9.5"
},
"engines": {
"node": ">=14"
"node": ">=16"
}
}

0 comments on commit 6937fd5

Please sign in to comment.