fix(core): update
This commit is contained in:
parent
52cc249098
commit
c3ab527341
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "@shipzone/npmci",
|
||||
"version": "3.1.18",
|
||||
"private": false,
|
||||
"description": "node and docker in gitlab ci on steroids",
|
||||
"main": "dist/index.js",
|
||||
"typings": "dist/index.d.ts",
|
||||
@ -53,6 +54,5 @@
|
||||
"smartanalytics": "^2.0.9",
|
||||
"smartsocket": "^1.1.19",
|
||||
"through2": "^3.0.0"
|
||||
},
|
||||
"private": false
|
||||
}
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ export let mirror = async () => {
|
||||
const githubToken = process.env.NPMCI_GIT_GITHUBTOKEN;
|
||||
const githubUser = process.env.NPMCI_GIT_GITHUBGROUP || repo.user;
|
||||
const githubRepo = process.env.NPMCI_GIT_GITHUB || repo.repo;
|
||||
if(configObject.projectInfo.npm.packageJson.private) {
|
||||
if(configObject.projectInfo.npm.packageJson.private === true) {
|
||||
logger.log('warn', `refusing to mirror due to private property`);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user