Skip to content

Commit

Permalink
chore!: drop node 16 and 19 support (#1598)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Node.js 16.x and 19.x are no longer supported by `tedious`.
  • Loading branch information
MichaelSun90 committed Feb 11, 2024
1 parent cf3dab1 commit ddfa397
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 22 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/nodejs.yml
Expand Up @@ -19,10 +19,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js 16
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18

- name: Determine npm cache directory
id: npm-cache
Expand All @@ -46,7 +46,7 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x, 19.x]
node-version: [18.x, 20.x, 21.x]
fail-fast: false

steps:
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
strategy:
matrix:
mssql-version: [2016, 2017, 2019, 2022]
node-version: [16.x, 18.x, 19.x, 20.x]
node-version: [18.x, 20.x, 21.x]
fail-fast: false

steps:
Expand Down Expand Up @@ -359,7 +359,7 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}

azure-sql-auth:
name: Azure SQL Server / Node.js 16.x
name: Azure SQL Server / Node.js 18.x
runs-on: ubuntu-latest
timeout-minutes: 20

Expand All @@ -368,10 +368,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Use Node.js 16
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18

- name: Determine npm cache directory
id: npm-cache
Expand Down Expand Up @@ -413,7 +413,7 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}

azure-ad-auth:
name: Azure SQL Server / Node.js 16.x
name: Azure SQL Server / Node.js 18.x
runs-on: ubuntu-latest
timeout-minutes: 20

Expand All @@ -422,10 +422,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Use Node.js 16
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18

- name: Determine npm cache directory
id: npm-cache
Expand Down Expand Up @@ -472,7 +472,7 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}

azure-ad-service-principal-auth:
name: Azure SQL Server / Node.js 16.x
name: Azure SQL Server / Node.js 18.x
runs-on: ubuntu-latest
timeout-minutes: 20

Expand All @@ -481,10 +481,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Use Node.js 16
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18

- name: Determine npm cache directory
id: npm-cache
Expand Down Expand Up @@ -537,10 +537,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Use Node.js 16
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18

- name: Determine npm cache directory
id: npm-cache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18

- name: Tag latest release
run: |
Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Expand Up @@ -2,9 +2,9 @@ version: "{build}"

environment:
matrix:
- nodejs_version: "16"
- nodejs_version: "18"
- nodejs_version: "19"
- nodejs_version: "20"
- nodejs_version: "21"

branches:
only:
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -34,7 +34,7 @@
"url": "https://github.com/tediousjs/tedious.git"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"publishConfig": {
"tag": "next"
Expand Down Expand Up @@ -104,7 +104,7 @@
"@babel/preset-env",
{
"targets": {
"node": 16
"node": 18
}
}
],
Expand Down

0 comments on commit ddfa397

Please sign in to comment.