File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1- 'use strict'
1+ 'use strict' ;
22
33const CiVersionCheck = require ( './CiVersionCheck' ) ;
44const mongoVersionList = require ( 'mongodb-version-list' ) ;
@@ -14,9 +14,8 @@ async function check() {
1414 * Check the MongoDB versions used in test environments.
1515 */
1616async 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 */
4948async 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}
You can’t perform that action at this time.
0 commit comments