File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
- 'use strict'
1
+ 'use strict' ;
2
2
3
3
const CiVersionCheck = require ( './CiVersionCheck' ) ;
4
4
const mongoVersionList = require ( 'mongodb-version-list' ) ;
@@ -14,9 +14,8 @@ async function check() {
14
14
* Check the MongoDB versions used in test environments.
15
15
*/
16
16
async function checkMongoDbVersions ( ) {
17
-
18
17
const releasedVersions = await new Promise ( ( resolve , reject ) => {
19
- mongoVersionList ( function ( error , versions ) {
18
+ mongoVersionList ( function ( error , versions ) {
20
19
if ( error ) {
21
20
reject ( error ) ;
22
21
}
@@ -47,7 +46,6 @@ async function checkMongoDbVersions() {
47
46
* Check the Nodejs versions used in test environments.
48
47
*/
49
48
async function checkNodeVersions ( ) {
50
-
51
49
const allVersions = await allNodeVersions ( ) ;
52
50
const releasedVersions = allVersions . versions ;
53
51
@@ -63,6 +61,7 @@ async function checkNodeVersions() {
63
61
'<12.0.0' , // These versions have reached their end-of-life support date
64
62
'>=13.0.0 <14.0.0' , // These versions have reached their end-of-life support date
65
63
'>=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
66
65
] ,
67
66
} ) . check ( ) ;
68
67
}
You can’t perform that action at this time.
0 commit comments