Skip to content

Commit 240d806

Browse files
committed
feat: ignore Node >= 17.0.0
1 parent bb4b15e commit 240d806

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

ci/ciCheck.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
'use strict'
1+
'use strict';
22

33
const CiVersionCheck = require('./CiVersionCheck');
44
const mongoVersionList = require('mongodb-version-list');
@@ -14,9 +14,8 @@ async function check() {
1414
* Check the MongoDB versions used in test environments.
1515
*/
1616
async function checkMongoDbVersions() {
17-
1817
const releasedVersions = await new Promise((resolve, reject) => {
19-
mongoVersionList(function(error, versions) {
18+
mongoVersionList(function (error, versions) {
2019
if (error) {
2120
reject(error);
2221
}
@@ -47,7 +46,6 @@ async function checkMongoDbVersions() {
4746
* Check the Nodejs versions used in test environments.
4847
*/
4948
async function checkNodeVersions() {
50-
5149
const allVersions = await allNodeVersions();
5250
const releasedVersions = allVersions.versions;
5351

@@ -63,6 +61,7 @@ async function checkNodeVersions() {
6361
'<12.0.0', // These versions have reached their end-of-life support date
6462
'>=13.0.0 <14.0.0', // These versions have reached their end-of-life support date
6563
'>=15.0.0 <16.0.0', // These versions have reached their end-of-life support date
64+
'>=17.0.0', // These versions are not officially supported yet
6665
],
6766
}).check();
6867
}

0 commit comments

Comments
 (0)