Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| efdf789575 | |||
| 6ef6446022 |
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@shipzone/npmci",
|
"name": "@shipzone/npmci",
|
||||||
"version": "3.1.73",
|
"version": "3.1.74",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@shipzone/npmci",
|
"name": "@shipzone/npmci",
|
||||||
"version": "3.1.73",
|
"version": "3.1.74",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "node and docker in gitlab ci on steroids",
|
"description": "node and docker in gitlab ci on steroids",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
|||||||
@@ -62,7 +62,6 @@ export class NpmciNodeJsManager {
|
|||||||
await bash('npm install -g npm');
|
await bash('npm install -g npm');
|
||||||
await bash('node -v');
|
await bash('node -v');
|
||||||
await bash('npm -v');
|
await bash('npm -v');
|
||||||
await bash(`npm config set cache ${paths.NpmciCacheDir} --global `);
|
|
||||||
|
|
||||||
// lets look for further config
|
// lets look for further config
|
||||||
const config = await this.npmciRef.npmciConfig.getConfig();
|
const config = await this.npmciRef.npmciConfig.getConfig();
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import * as plugins from './mod.plugins';
|
import * as plugins from './mod.plugins';
|
||||||
|
import * as paths from '../npmci.paths';
|
||||||
|
|
||||||
import { logger } from '../npmci.logging';
|
import { logger } from '../npmci.logging';
|
||||||
import { bash, bashNoError, nvmAvailable } from '../npmci.bash';
|
import { bash, bashNoError, nvmAvailable } from '../npmci.bash';
|
||||||
@@ -73,6 +74,10 @@ export class NpmciNpmManager {
|
|||||||
|
|
||||||
// lets save it to disk
|
// lets save it to disk
|
||||||
plugins.smartfile.memory.toFsSync(npmrcFileString, '/root/.npmrc');
|
plugins.smartfile.memory.toFsSync(npmrcFileString, '/root/.npmrc');
|
||||||
|
|
||||||
|
// lets set the cache directory
|
||||||
|
await bash(`npm config set cache ${paths.NpmciCacheDir} --global `);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user