fix(core): update
This commit is contained in:
parent
905f594af1
commit
57aca36f11
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@shipzone/npmci',
|
name: '@shipzone/npmci',
|
||||||
version: '4.0.3',
|
version: '4.0.4',
|
||||||
description: 'node and docker in gitlab ci on steroids'
|
description: 'node and docker in gitlab ci on steroids'
|
||||||
}
|
}
|
||||||
|
@ -151,6 +151,7 @@ export class NpmciNpmManager {
|
|||||||
logger.log('info', `now preparing environment:`);
|
logger.log('info', `now preparing environment:`);
|
||||||
this.prepare();
|
this.prepare();
|
||||||
await bash(`npm -v`);
|
await bash(`npm -v`);
|
||||||
|
await bash(`pnpm -v`);
|
||||||
|
|
||||||
// -> build it
|
// -> build it
|
||||||
await this.install();
|
await this.install();
|
||||||
@ -172,16 +173,16 @@ export class NpmciNpmManager {
|
|||||||
|
|
||||||
public async install(): Promise<void> {
|
public async install(): Promise<void> {
|
||||||
logger.log('info', 'now installing dependencies:');
|
logger.log('info', 'now installing dependencies:');
|
||||||
await bash('npm ci');
|
await bash('pnpm install');
|
||||||
}
|
}
|
||||||
|
|
||||||
public async build(): Promise<void> {
|
public async build(): Promise<void> {
|
||||||
logger.log('info', 'now building the project:');
|
logger.log('info', 'now building the project:');
|
||||||
await bash('npm run build');
|
await bash('pnpm 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('pnpm test');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user