Compare commits

...

2 Commits

Author SHA1 Message Date
fb4c84e1de 4.0.4 2022-10-11 13:38:40 +02:00
57aca36f11 fix(core): update 2022-10-11 13:38:40 +02:00
4 changed files with 8 additions and 7 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@shipzone/npmci",
"version": "4.0.3",
"version": "4.0.4",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@shipzone/npmci",
"version": "4.0.3",
"version": "4.0.4",
"license": "MIT",
"dependencies": {
"@apiglobal/typedrequest": "^2.0.10",

View File

@@ -1,6 +1,6 @@
{
"name": "@shipzone/npmci",
"version": "4.0.3",
"version": "4.0.4",
"private": false,
"description": "node and docker in gitlab ci on steroids",
"main": "dist_ts/index.js",

View File

@@ -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'
}

View File

@@ -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<void> {
logger.log('info', 'now installing dependencies:');
await bash('npm ci');
await bash('pnpm install');
}
public async build(): Promise<void> {
logger.log('info', 'now building the project:');
await bash('npm run build');
await bash('pnpm run build');
}
public async test(): Promise<void> {
logger.log('info', 'now starting tests:');
await bash('npm test');
await bash('pnpm test');
}
}