Explorar el Código

Improve the visibility of errors in CI build

Paweł Smyrek hace 5 años
padre
commit
080068a95d
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      scripts/continuous-integration-script.js

+ 4 - 0
scripts/continuous-integration-script.js

@@ -104,10 +104,14 @@ console.log( 'Done' );
 if ( Object.values( failedChecks ).some( checksSet => checksSet.size > 0 ) ) {
 	console.log( '\n---\n' );
 
+	console.log( `🔥 ${ RED }Errors were found in the following packages:${ NO_COLOR }\n` );
+
 	showFailedCheck( 'dependency', 'The following packages have dependencies that are not included in its package.json' );
 	showFailedCheck( 'unitTests', 'The following packages did not pass unit tests' );
 	showFailedCheck( 'codeCoverage', 'The following packages did not provide required code coverage' );
 
+	console.log( '\n---\n' );
+
 	process.exit( 1 ); // Exit code 1 will break the CI build.
 }