mirror of https://github.com/typicode/husky.git
chore: drop node 16 support (#1254)
This commit is contained in:
parent
34ef2468d3
commit
6937fd59e6
|
@ -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
|
||||
|
|
|
@ -35,6 +35,6 @@
|
|||
"typescript": "^4.9.5"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue