Skip to content

Commit

Permalink
chore: drop support for Node.js 16 and lower
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Drop support for Node.js 16 and lower

Signed-off-by: dhmlau <[email protected]>
  • Loading branch information
dhmlau committed Nov 13, 2023
1 parent a7b8ef8 commit 99753de
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
timeout-minutes: 5
strategy:
matrix:
node-version: [14, 16, 18] # Maintenance, Active LTS & Current
node-version: [18, 20] # Maintenance, Active LTS & Current
fail-fast: false
services:
postgres:
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16 # LTS
node-version: 18 # LTS
- run: npm ci --ignore-scripts
- name: Verify code linting
run: npx --no eslint .
Expand All @@ -57,7 +57,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 16 # LTS
node-version: 18 # LTS
- run: npm ci --ignore-scripts
- name: Verify commit linting
run: npx --no -p @commitlint/cli commitlint --from origin/master --to HEAD --verbose
24 changes: 24 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
node_modules
.project
.idea
.vscode
coverage
lib-cov
*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz

pids
logs
results

npm-debug.log
docs


test
.travis.yml
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"author": "IBM Corp.",
"repository": "github:loopbackio/loopback-connector-postgresql",
"engines": {
"node": "14 || 16 || 18"
"node": "18 || 20"
},
"scripts": {
"pretest": "node pretest.js",
Expand Down

0 comments on commit 99753de

Please sign in to comment.