@@ -24,7 +24,7 @@ class CiVersionCheck {
24
24
* @param {Array<String> } config.releasedVersions The released versions of
25
25
* the package to check against.
26
26
* @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.
28
28
* This can be used in case there is a package release for which Parse
29
29
* Server compatibility is not required.
30
30
* @param {String } [config.latestComponent='patch'] The version component
@@ -177,7 +177,7 @@ class CiVersionCheck {
177
177
}
178
178
179
179
/**
180
- * Returns the newest version for a given version and component.
180
+ * Returns the latest version for a given version and component.
181
181
* @param {Array<String> } versions The versions in which to search.
182
182
* @param {String } version The version for which a newer version
183
183
* should be searched.
@@ -250,7 +250,7 @@ class CiVersionCheck {
250
250
console . log ( `❌ CI environment '${ test . name } ' uses an old ${ this . packageName } ${ this . latestComponent } version ${ version } instead of ${ newer } .` ) ;
251
251
failed = true ;
252
252
} 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 } .` ) ;
254
254
}
255
255
}
256
256
@@ -266,10 +266,10 @@ class CiVersionCheck {
266
266
267
267
if ( failed ) {
268
268
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.` +
270
270
`\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 } .`
273
273
) ;
274
274
}
275
275
0 commit comments