From 57aca36f11885a07d7e656f612d6feb21a530217 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Tue, 11 Oct 2022 13:38:40 +0200 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts/manager.npm/index.ts | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) 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'); } }