From aa42cd1506a7e417279fb736343f901d6b4a9371 Mon Sep 17 00:00:00 2001 From: dhmlau Date: Fri, 13 Oct 2023 08:27:14 -0400 Subject: [PATCH] chore: drop support for Node.js 16 and lower BREAKING-CHANGE: drop support for Node.js 16 and lower Signed-off-by: dhmlau --- .github/workflows/continuous-integration.yaml | 14 +++++++------- .npmignore | 1 + package.json | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index 6d2ec436..91425864 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -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 diff --git a/.npmignore b/.npmignore index 60028089..2fdbb681 100644 --- a/.npmignore +++ b/.npmignore @@ -17,3 +17,4 @@ loopback-connector-*.tgz coverage .vscodetest .travis.yml +test diff --git a/package.json b/package.json index a2668e93..9a52c4a8 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "6.0.3", "description": "Building blocks for LoopBack connectors", "engines": { - "node": ">=16" + "node": ">=18" }, "author": "IBM Corp.", "keywords": [