Skip to content

Commit 99753de

Browse files
committed
chore: drop support for Node.js 16 and lower
BREAKING CHANGE: Drop support for Node.js 16 and lower Signed-off-by: dhmlau <[email protected]>
1 parent a7b8ef8 commit 99753de

File tree

3 files changed

+28
-4
lines changed

3 files changed

+28
-4
lines changed

.github/workflows/continuous-integration.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
timeout-minutes: 5
1313
strategy:
1414
matrix:
15-
node-version: [14, 16, 18] # Maintenance, Active LTS & Current
15+
node-version: [18, 20] # Maintenance, Active LTS & Current
1616
fail-fast: false
1717
services:
1818
postgres:
@@ -42,7 +42,7 @@ jobs:
4242
- uses: actions/checkout@v4
4343
- uses: actions/setup-node@v4
4444
with:
45-
node-version: 16 # LTS
45+
node-version: 18 # LTS
4646
- run: npm ci --ignore-scripts
4747
- name: Verify code linting
4848
run: npx --no eslint .
@@ -57,7 +57,7 @@ jobs:
5757
fetch-depth: 0
5858
- uses: actions/setup-node@v4
5959
with:
60-
node-version: 16 # LTS
60+
node-version: 18 # LTS
6161
- run: npm ci --ignore-scripts
6262
- name: Verify commit linting
6363
run: npx --no -p @commitlint/cli commitlint --from origin/master --to HEAD --verbose

.npmignore

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
node_modules
2+
.project
3+
.idea
4+
.vscode
5+
coverage
6+
lib-cov
7+
*.seed
8+
*.log
9+
*.csv
10+
*.dat
11+
*.out
12+
*.pid
13+
*.gz
14+
15+
pids
16+
logs
17+
results
18+
19+
npm-debug.log
20+
docs
21+
22+
23+
test
24+
.travis.yml

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"author": "IBM Corp.",
1414
"repository": "github:loopbackio/loopback-connector-postgresql",
1515
"engines": {
16-
"node": "14 || 16 || 18"
16+
"node": "18 || 20"
1717
},
1818
"scripts": {
1919
"pretest": "node pretest.js",

0 commit comments

Comments
 (0)