@@ -24,7 +24,7 @@ class CiVersionCheck {
2424 * @param {Array<String> } config.releasedVersions The released versions of
2525 * the package to check against.
2626 * @param {Array<String> } config.ignoreReleasedVersions The versions to
27- * ignore when checking whether the CI tests against the newest versions.
27+ * ignore when checking whether the CI tests against the latest versions.
2828 * This can be used in case there is a package release for which Parse
2929 * Server compatibility is not required.
3030 * @param {String } [config.latestComponent='patch'] The version component
@@ -177,7 +177,7 @@ class CiVersionCheck {
177177 }
178178
179179 /**
180- * Returns the newest version for a given version and component.
180+ * Returns the latest version for a given version and component.
181181 * @param {Array<String> } versions The versions in which to search.
182182 * @param {String } version The version for which a newer version
183183 * should be searched.
@@ -250,7 +250,7 @@ class CiVersionCheck {
250250 console . log ( `❌ CI environment '${ test . name } ' uses an old ${ this . packageName } ${ this . latestComponent } version ${ version } instead of ${ newer } .` ) ;
251251 failed = true ;
252252 } else {
253- console . log ( `✅ CI environment '${ test . name } ' uses the newest ${ this . packageName } ${ this . latestComponent } version ${ version } .` ) ;
253+ console . log ( `✅ CI environment '${ test . name } ' uses the latest ${ this . packageName } ${ this . latestComponent } version ${ version } .` ) ;
254254 }
255255 }
256256
@@ -266,10 +266,10 @@ class CiVersionCheck {
266266
267267 if ( failed ) {
268268 core . setFailed (
269- `CI environments are not up-to-date with newest ${ this . packageName } versions.` +
269+ `CI environments are not up-to-date with the latest ${ this . packageName } versions.` +
270270 `\n\nCheck the error messages above and update the ${ this . packageName } versions in the CI YAML ` +
271- `file. Additionally, there may be versions of ${ this . packageName } that have reached their official end-of-life ` +
272- `support date and should be removed from the CI; see ${ this . packageSupportUrl } .`
271+ `file.\n\nℹ️ Additionally, there may be versions of ${ this . packageName } that have reached their official end-of-life ` +
272+ `support date and should be removed from the CI, see ${ this . packageSupportUrl } .`
273273 ) ;
274274 }
275275
0 commit comments