diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bbb5b895d12f677da008147520e4f9d1e9f2a3af..c9b102e1b779db736f1fbd10a9ec9fac7ba3f416 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -47,6 +47,7 @@ publish to local npm: stage: publish before_script: - npm install -g npm-cli-adduser - - npm-cli-adduser --registry $NPM_REGISTRY --username $NPM_USERNAME --password $NPM_PASSWORD --email $NPM_EMAIL + - npm config set @br:registry $NPM_REGISTRY + - npm-cli-adduser --registry $NPM_REGISTRY --username $NPM_USERNAME --password $NPM_PASSWORD --email $NPM_EMAIL --scope @br script: - npm publish --registry $NPM_REGISTRY \ No newline at end of file