npm-ci-login

1.3.1 • Public • Published

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 \
NPM_EMAIL=snoop@420.com \
npm-ci-login

Supported 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

Readme

Keywords

none

Package Sidebar

Install

npm i npm-ci-login

Weekly Downloads

513

Version

1.3.1

License

ISC

Unpacked Size

2.55 kB

Total Files

3

Last publish

Collaborators

  • vedad27