From edcf617b3bba9b21205c69ef0f63cdbb8623d6c3 Mon Sep 17 00:00:00 2001 From: Alvaro Vega Date: Mon, 3 Apr 2023 09:05:56 +0200 Subject: [PATCH 1/5] Update ci.yml --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a9d46b9..98f867e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,6 +66,7 @@ jobs: node-version: - 14.x - 16.x + - 18.x steps: - name: Git checkout uses: actions/checkout@v2 From 946dd9a3ccca2abce38076476dc4afa1718a8137 Mon Sep 17 00:00:00 2001 From: Alvaro Vega Date: Mon, 3 Apr 2023 09:06:53 +0200 Subject: [PATCH 2/5] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f42c9b1..01119bd 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ }, "main": "lib/iotagent-manager", "engines": { - "node": ">=14" + "node": ">=16" }, "scripts": { "clean": "rm -rf package-lock.json && rm -rf node_modules && rm -rf coverage && rm -rf .nyc_output", From 186373b0a501fc3d1714342220d5f5f2caefc735 Mon Sep 17 00:00:00 2001 From: Alvaro Vega Date: Mon, 3 Apr 2023 09:07:30 +0200 Subject: [PATCH 3/5] Update configTest.js --- test/configTest.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/configTest.js b/test/configTest.js index e868146..79ce02b 100644 --- a/test/configTest.js +++ b/test/configTest.js @@ -23,7 +23,8 @@ const config = { server: { - port: 8082 + port: 8082, + host: 'localhost' }, mongodb: { host: '127.0.0.1', From f82a0dc1426cb70bf4fb54f315ad1421830addf5 Mon Sep 17 00:00:00 2001 From: Alvaro Vega Date: Mon, 3 Apr 2023 09:10:24 +0200 Subject: [PATCH 4/5] Update CHANGES_NEXT_RELEASE --- CHANGES_NEXT_RELEASE | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES_NEXT_RELEASE b/CHANGES_NEXT_RELEASE index e69de29..7649e9b 100644 --- a/CHANGES_NEXT_RELEASE +++ b/CHANGES_NEXT_RELEASE @@ -0,0 +1 @@ +- Set Nodejs 16 as minimum version in packages.json (effectively removing Nodev14 from supported versions) From b089cf1cdaee24bb3b8d5ec39c32b5af585278d8 Mon Sep 17 00:00:00 2001 From: Alvaro Vega Date: Mon, 3 Apr 2023 09:12:25 +0200 Subject: [PATCH 5/5] Update CHANGES_NEXT_RELEASE --- CHANGES_NEXT_RELEASE | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES_NEXT_RELEASE b/CHANGES_NEXT_RELEASE index 7649e9b..6b41c41 100644 --- a/CHANGES_NEXT_RELEASE +++ b/CHANGES_NEXT_RELEASE @@ -1 +1,2 @@ - Set Nodejs 16 as minimum version in packages.json (effectively removing Nodev14 from supported versions) +- Add support to run tests with node 18