diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 510374a..327178a 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@shipzone/npmci', - version: '4.0.3', + version: '4.0.4', description: 'node and docker in gitlab ci on steroids' } diff --git a/ts/manager.npm/index.ts b/ts/manager.npm/index.ts index e6cdfa7..4380730 100644 --- a/ts/manager.npm/index.ts +++ b/ts/manager.npm/index.ts @@ -151,6 +151,7 @@ export class NpmciNpmManager { logger.log('info', `now preparing environment:`); this.prepare(); await bash(`npm -v`); + await bash(`pnpm -v`); // -> build it await this.install(); @@ -172,16 +173,16 @@ export class NpmciNpmManager { public async install(): Promise { logger.log('info', 'now installing dependencies:'); - await bash('npm ci'); + await bash('pnpm install'); } public async build(): Promise { logger.log('info', 'now building the project:'); - await bash('npm run build'); + await bash('pnpm run build'); } public async test(): Promise { logger.log('info', 'now starting tests:'); - await bash('npm test'); + await bash('pnpm test'); } }