Skip to content

Commit

Permalink
chore: drop node 14 support, add node 19 support (#1532)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Node.js 14.x is no longer supported by `tedious`.
  • Loading branch information
mShan0 authored Apr 7, 2023
1 parent 9cebc4b commit ef3fd2c
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 21 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js 14
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 14
node-version: 16

- name: Determine npm cache directory
id: npm-cache
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:

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

steps:
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:

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

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

azure-sql-auth:
name: Azure SQL Server / Node.js 14.x
name: Azure SQL Server / Node.js 16.x
runs-on: ubuntu-latest

# Only run these tests if we have access to the secrets
if: ${{ github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name }}

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

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

azure-ad-auth:
name: Azure SQL Server / Node.js 14.x
name: Azure SQL Server / Node.js 16.x
runs-on: ubuntu-latest

# Only run these tests if we have access to the secrets
if: ${{ github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name }}

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

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

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

# Only run these tests if we have access to the secrets
if: ${{ github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name }}

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

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

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

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

- name: Tag latest release
run: |
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ version: "{build}"

environment:
matrix:
- nodejs_version: "14"
- nodejs_version: "16"
- nodejs_version: "18"
- nodejs_version: "19"

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
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"url": "https://github.com/tediousjs/tedious.git"
},
"engines": {
"node": ">=14"
"node": ">=16"
},
"publishConfig": {
"tag": "next"
Expand Down Expand Up @@ -109,7 +109,7 @@
"@babel/preset-env",
{
"targets": {
"node": 14
"node": 16
}
}
],
Expand Down

0 comments on commit ef3fd2c

Please sign in to comment.