Drone plugins > NPM
NPM
by donny-dont
The NPM plugin can be used to publish libraries to public or private registries.
Example
kind: pipeline
name: default
steps:
- name: npm
image: plugins/npm
settings:
username: bob
password: password
email: bob@bob.me
Properties
username
stringrequiredthe username for the account to publish with
Default: none
password
stringrequiredthe password for the account to publish with
Secret recommendedDefault: none
token
stringoptionalthe token for the account to publish with
Secret recommendedDefault: none
email
stringoptionalthe email for the account to publish with
Default: none
registry
stringoptionalthe registry to publish to
Default: https://registry.npmjs.org
folder
stringoptionalthe folder, relative to the workspace, containing the library.
Default: the workspace directory
access
stringoptionalNPM scoped package access
Default: none