Skip to content

Commit

Permalink
Merge pull request #308 from telefonicaid/task/upgrade_ci_node18
Browse files Browse the repository at this point in the history
Update ci.yml to support node 18 and removes node 14 as minimun node version
  • Loading branch information
fgalan authored Apr 3, 2023
2 parents 3dd9fff + b089cf1 commit 3225a4a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
node-version:
- 14.x
- 16.x
- 18.x
steps:
- name: Git checkout
uses: actions/checkout@v2
Expand Down
2 changes: 2 additions & 0 deletions CHANGES_NEXT_RELEASE
Original file line number Diff line number Diff line change
@@ -0,0 +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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion test/configTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@

const config = {
server: {
port: 8082
port: 8082,
host: 'localhost'
},
mongodb: {
host: '127.0.0.1',
Expand Down

0 comments on commit 3225a4a

Please sign in to comment.