Robert Stettner 719fc279b6 initial commit
2017-07-27 11:22:16 +01:00
2017-07-27 11:22:16 +01:00
2017-07-27 11:22:16 +01:00
2017-07-27 11:22:16 +01:00
2017-07-27 11:22:16 +01:00
2017-07-27 11:22:16 +01:00
2017-07-27 11:22:16 +01:00

drone-npm-auth

Build Status

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 .npmrc file. 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

S
Description
No description provided
Readme 57 KiB
Languages
Shell 90.2%
Dockerfile 9.8%