Skip to content

Commit

Permalink
feat!: drop node 16.x support
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Node JS min support upgraded to >=18 & tedious version updated
  • Loading branch information
dhensby committed Jun 18, 2024
1 parent a3d2de0 commit b5efe2f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 18.x
cache: 'npm'
- name: Install dependencies
run: npm clean-install
Expand All @@ -43,7 +43,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 18.x
cache: 'npm'
- name: Install dependencies
run: npm clean-install
Expand All @@ -68,7 +68,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-22.04]
node: [16.x, 18.x, 20.x]
node: [18.x, 20.x, 22.x]
sqlserver: [2017, 2019, 2022]
steps:
- name: Checkout code
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
strategy:
matrix:
os: [windows-2019, windows-2022]
node: [16.x, 18.x, 20.x]
node: [18.x, 20.x, 22.x]
sqlserver: [2008, 2012, 2014, 2016, 2017, 2019, 2022]
# These sqlserver versions don't work on windows-2022 (at the moment)
exclude:
Expand Down Expand Up @@ -153,8 +153,10 @@ jobs:
- name: Run cli tests
run: npm run test-cli
- name: Install msnodesqlv8
if: ${{ matrix.node != '22.x' }}
run: npm install --no-save msnodesqlv8@^2
- name: Run msnodesqlv8 tests
if: ${{ matrix.node != '22.x' }}
run: npm run test-msnodesqlv8
release:
name: Release
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"standard": "^17.0.0"
},
"engines": {
"node": ">=14"
"node": ">=18"
},
"files": [
"lib/",
Expand Down

0 comments on commit b5efe2f

Please sign in to comment.