mirror of
https://github.com/robertstettner/drone-npm-auth.git
synced 2026-06-04 18:23:58 +08:00
719fc279b6832662ff646ac24af5396662547146
drone-npm-auth
Drone plugin for authenticating into NPM to install private dependencies.
Configuration
The following parameters are used to configure the plugin:
username: The NPM username. Required.password: The NPM password. Required.email: The NPM email. Required.registry: The NPM registry. Defaults to the default NPM registry.scope: Scope of the NPM authentication. Optional.path: Output path of the generated.npmrcfile. Defaults to./.
Drone configuration example
pipeline:
npm_auth:
image: robertstettner/drone-npm-auth
username: joebloggs
password: mypass
email: jb@me.com
build:
image: node:6
commands:
- npm install
- npm test
when:
event: [push, pull_request]
License
MIT
Description
Languages
Shell
90.2%
Dockerfile
9.8%