Compare commits

...

4 Commits

Author SHA1 Message Date
2d00882fd7 4.0.6 2022-10-11 13:58:48 +02:00
ba5e69041f fix(core): update 2022-10-11 13:58:48 +02:00
d2871d601a 4.0.5 2022-10-11 13:40:26 +02:00
9c66d88dc0 fix(core): update 2022-10-11 13:40:25 +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.4",
"version": "4.0.6",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@shipzone/npmci",
"version": "4.0.4",
"version": "4.0.6",
"license": "MIT",
"dependencies": {
"@apiglobal/typedrequest": "^2.0.10",

View File

@@ -1,6 +1,6 @@
{
"name": "@shipzone/npmci",
"version": "4.0.4",
"version": "4.0.6",
"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.4',
version: '4.0.6',
description: 'node and docker in gitlab ci on steroids'
}

View File

@@ -44,11 +44,11 @@ export class NpmciNodeJsManager {
logger.log('info', `now installing node version ${versionArg}`);
let version: string;
if (versionArg === 'stable') {
version = '16';
version = '18';
} else if (versionArg === 'lts') {
version = '14';
version = '16';
} else if (versionArg === 'legacy') {
version = '12';
version = '14';
} else {
version = versionArg;
}
@@ -62,6 +62,7 @@ export class NpmciNodeJsManager {
await bash('npm install -g npm');
await bash('node -v');
await bash('npm -v');
await bash('pnpm -v');
// lets look for further config
const config = await this.npmciRef.npmciConfig.getConfig();