12 lines
242 B
YAML
12 lines
242 B
YAML
|
pipeline:
|
||
|
build:
|
||
|
image: node
|
||
|
commands:
|
||
|
- npm install
|
||
|
- npm test
|
||
|
publish:
|
||
|
image: plugins/docker
|
||
|
repo: drone/node-demo
|
||
|
secrets: [ docker_username, docker_password ]
|
||
|
dry_run: true # remove this to publish
|