Skip to content

Commit

Permalink
drop Node 18 support for now
Browse files Browse the repository at this point in the history
  • Loading branch information
PieterGit committed Aug 15, 2022
1 parent fb4d467 commit 0a81915
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [14.x, 16.x]
mongodb-version: [4.2, 4.4]

steps:
Expand Down
7 changes: 0 additions & 7 deletions lib/server/bootevent.js
Expand Up @@ -44,13 +44,6 @@ function boot (env, language) {
return;
}

if (semver.satisfies(nodeVersion, '^18.7.0')) {
//Latest Node 18 is used for CI. It is not recommended nor supported.
console.debug('Node version ' + nodeVersion + ' should work, but is currently not supported');
next();
return;
}

console.log( 'ERROR: Node version ' + nodeVersion + ' is not supported. Please use a secure LTS version or upgrade your Node');
process.exit(1);

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -65,7 +65,7 @@
}
},
"engines": {
"node": "^16.x || ^14.x || ^18.x"
"node": "^16.x || ^14.x"
},
"dependencies": {
"@babel/core": "^7.11.1",
Expand Down

0 comments on commit 0a81915

Please sign in to comment.