fix(core): update

This commit is contained in:
Philipp Kunz 2019-10-02 11:56:05 +02:00
parent 5f33ebd8a7
commit bfe3e266ee

View File

@ -133,8 +133,8 @@ export class NpmciNpmManager {
await bash(`npm -v`);
// -> build it
await bash(`npm install`);
await bash(`npm run build`);
await this.install();
await this.build();
logger.log('success', `Nice!!! The build for the publication was successfull!`);
logger.log('info', `Lets clean up so we don't publish any packages that don't belong to us:`);
@ -155,6 +155,11 @@ export class NpmciNpmManager {
await bash('npm ci');
}
public async build(): Promise<void> {
logger.log('info', 'now building the project:');
await bash('npm run build');
}
public async test(): Promise<void> {
logger.log('info', 'now starting tests:');
await bash('npm test');