chore: drop node 16 support (#1254)

This commit is contained in:
typicode 2023-04-26 00:20:24 +02:00 committed by GitHub
parent 34ef2468d3
commit 6937fd59e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 8 deletions

View File

@ -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

View File

@ -35,6 +35,6 @@
"typescript": "^4.9.5"
},
"engines": {
"node": ">=14"
"node": ">=16"
}
}