npm-ci-login
v1.3.1
Published
Logs into NPM on your CI machines
Downloads
51
Readme
NPM CI Login
Logs you to an NPM registry on CI machines, uses npm login in the background.
Usage:
npm install -g npm-ci-login
NPM_USERNAME=Snoop \
NPM_PASSWORD=Dogg \
[email protected] \
npm-ci-loginSupported environment variables:
| Name | Description | Required |
| -------------- | --------------------------------------------------------------- | -------- |
| NPM_USERNAME | Username on the registry | yes |
| NPM_PASSWORD | Password for the user (or token on some registries like Github) | yes |
| NPM_EMAIL | Email for the user | yes |
| NPM_REGISTRY | Registry url - if you have a custom registry | no |
| NPM_SCOPE | Organisation scope | no |
