fix(core): update
This commit is contained in:
parent
5f33ebd8a7
commit
bfe3e266ee
@ -133,8 +133,8 @@ export class NpmciNpmManager {
|
|||||||
await bash(`npm -v`);
|
await bash(`npm -v`);
|
||||||
|
|
||||||
// -> build it
|
// -> build it
|
||||||
await bash(`npm install`);
|
await this.install();
|
||||||
await bash(`npm run build`);
|
await this.build();
|
||||||
|
|
||||||
logger.log('success', `Nice!!! The build for the publication was successfull!`);
|
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:`);
|
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');
|
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> {
|
public async test(): Promise<void> {
|
||||||
logger.log('info', 'now starting tests:');
|
logger.log('info', 'now starting tests:');
|
||||||
await bash('npm test');
|
await bash('npm test');
|
||||||
|
Loading…
Reference in New Issue
Block a user