diff --git a/lib/snippets/jenkins/Assets.ts b/lib/snippets/jenkins/Assets.ts index 4ad9ca7..c7b4b9a 100644 --- a/lib/snippets/jenkins/Assets.ts +++ b/lib/snippets/jenkins/Assets.ts @@ -87,7 +87,7 @@ child_process.execSync ('yarn lint', { stdio: 'inherit' }); if (typeof pkg.scripts !== 'undefined' && typeof pkg.scripts.test === 'string') child_process.execSync ('yarn test', { stdio: 'inherit' }); if ( - typeof pkg.scripts !== 'undefined' + typeof pkg.scripts !== 'undefined' && typeof pkg.scripts.compile === 'string' ) child_process.execSync ('yarn compile', { stdio: 'inherit' });