chore: drop support for Node.js 16 and lower
BREAKING-CHANGE: drop support for Node.js 16 and lower Signed-off-by: dhmlau <dhmlau@ca.ibm.com>
This commit is contained in:
parent
dbd44648d4
commit
eb99dbea47
|
@ -20,12 +20,12 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
node-version: [16, 18, 20]
|
||||
node-version: [18, 20]
|
||||
include:
|
||||
- os: macos-latest
|
||||
node_version: 16
|
||||
node_version: 18
|
||||
- os: windows-latest
|
||||
node_version: 16
|
||||
node_version: 18
|
||||
fail-fast: false
|
||||
steps:
|
||||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||
|
@ -60,10 +60,10 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||
- name: Use Node.js 16
|
||||
- name: Use Node.js 18
|
||||
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
- name: Bootstrap project
|
||||
run: npm ci --ignore-scripts
|
||||
- name: Verify code linting
|
||||
|
@ -76,10 +76,10 @@ jobs:
|
|||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Use Node.js 16
|
||||
- name: Use Node.js 18
|
||||
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
- name: Bootstrap project
|
||||
run: npm ci --ignore-scripts
|
||||
- name: Verify commit linting
|
||||
|
|
|
@ -17,3 +17,4 @@ loopback-connector-*.tgz
|
|||
coverage
|
||||
.vscodetest
|
||||
.travis.yml
|
||||
test
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"version": "6.0.3",
|
||||
"description": "Building blocks for LoopBack connectors",
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
"node": ">=18"
|
||||
},
|
||||
"author": "IBM Corp.",
|
||||
"keywords": [
|
||||
|
|
Loading…
Reference in New Issue