node-poweredup/.drone.yml
Nathan Kellenicki b9ab15a0c9
All checks were successful
continuous-integration/drone/push Build is passing
Drone now does npm publish
2019-03-20 11:46:04 -07:00

22 lines
390 B
YAML

pipeline:
install:
image: node:10.15.1
commands:
- apt-get update
- apt-get install -y bluetooth bluez libbluetooth-dev libudev-dev
- npm install
build:
image: node:10.15.1
commands:
- npm run all
publish:
image: plugins/npm
settings:
token:
from_secret: NPM_TOKEN
when:
event: [tag]
ref: [refs/tags/v*]