mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 19:32:15 +00:00
fix(cli): tsc build errors should fail turborepo builds as well (#3923)
This commit is contained in:
committed by
GitHub
parent
1d4f92a657
commit
f22bd2805d
@@ -14,7 +14,12 @@ const publicApiEnabled = process.env.N8N_PUBLIC_API_DISABLED !== 'true';
|
|||||||
|
|
||||||
shell.rm('-rf', path.resolve(ROOT_DIR, 'dist'));
|
shell.rm('-rf', path.resolve(ROOT_DIR, 'dist'));
|
||||||
|
|
||||||
shell.exec('tsc');
|
const tscCompilation = shell.exec('tsc', { silent: true })
|
||||||
|
if (tscCompilation.code !== 0) {
|
||||||
|
shell.echo('Typescript Compilation failed:');
|
||||||
|
shell.echo(tscCompilation.stdout);
|
||||||
|
shell.exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
if (userManagementEnabled) {
|
if (userManagementEnabled) {
|
||||||
copyUserManagementEmailTemplates();
|
copyUserManagementEmailTemplates();
|
||||||
|
|||||||
Reference in New Issue
Block a user