fix(core): update
This commit is contained in:
parent
adfdf68c38
commit
38d38ce246
@ -50,6 +50,18 @@ testLTS:
|
||||
- docker
|
||||
- notpriv
|
||||
|
||||
testBuild:
|
||||
stage: test
|
||||
script:
|
||||
- npmci npm prepare
|
||||
- npmci node install lts
|
||||
- npmci npm install
|
||||
- npmci command npm run build
|
||||
coverage: /\d+.?\d+?\%\s*coverage/
|
||||
tags:
|
||||
- docker
|
||||
- notpriv
|
||||
|
||||
release:
|
||||
stage: release
|
||||
script:
|
||||
|
@ -59,6 +59,7 @@
|
||||
"ts_web/*",
|
||||
"dist/*",
|
||||
"dist_web/*",
|
||||
"dist_ts_web/*",
|
||||
"assets/*",
|
||||
"cli.js",
|
||||
"npmextra.json",
|
||||
|
@ -42,7 +42,7 @@ export let mirror = async () => {
|
||||
logger.log('info', 'found github token.');
|
||||
logger.log('info', 'attempting the mirror the repository to GitHub');
|
||||
|
||||
plugins.smartgit.GitRepo
|
||||
plugins.smartgit.GitRepo;
|
||||
|
||||
// add the mirror
|
||||
await bash(
|
||||
|
@ -2,6 +2,4 @@ export * from '../npmci.plugins';
|
||||
|
||||
import * as smartgit from '@pushrocks/smartgit';
|
||||
|
||||
export {
|
||||
smartgit
|
||||
};
|
||||
export { smartgit };
|
||||
|
@ -77,9 +77,7 @@ const publish = async () => {
|
||||
});
|
||||
|
||||
// -> configure package access level
|
||||
if (
|
||||
config.npmAccessLevel
|
||||
) {
|
||||
if (config.npmAccessLevel) {
|
||||
npmAccessCliString = `--access=${config.npmAccessLevel}`;
|
||||
if (config.npmAccessLevel === 'public') {
|
||||
publishVerdaccioAsWell = true;
|
||||
@ -97,9 +95,14 @@ const publish = async () => {
|
||||
|
||||
// publishEverywhere
|
||||
if (publishVerdaccioAsWell) {
|
||||
const verdaccioRegistry = availableRegistries.find(registryString => registryString.startsWith('verdaccio'));
|
||||
const verdaccioRegistry = availableRegistries.find(registryString =>
|
||||
registryString.startsWith('verdaccio')
|
||||
);
|
||||
if (verdaccioRegistry) {
|
||||
logger.log('info', `package is public and verdaccio registry is specified. Also publishing to Verdaccio!`);
|
||||
logger.log(
|
||||
'info',
|
||||
`package is public and verdaccio registry is specified. Also publishing to Verdaccio!`
|
||||
);
|
||||
publishCommand = `${publishCommand} && npm publish ${npmAccessCliString} --registry=https://${verdaccioRegistry}`;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user