add drone
This commit is contained in:
parent
8b972865ed
commit
c2d7a8f8f4
21
.drone.yml
Normal file
21
.drone.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
pipeline:
|
||||||
|
restore-cache:
|
||||||
|
image: drillster/drone-volume-cache
|
||||||
|
restore: true
|
||||||
|
mount:
|
||||||
|
- ./node_modules
|
||||||
|
volumes:
|
||||||
|
- /tmp/cache:/cache
|
||||||
|
|
||||||
|
install:
|
||||||
|
image: node:8.6.0
|
||||||
|
commands:
|
||||||
|
- node -v
|
||||||
|
- npm -v
|
||||||
|
- npm install
|
||||||
|
|
||||||
|
testing:
|
||||||
|
image: node:8.6.0
|
||||||
|
group: testing
|
||||||
|
commands:
|
||||||
|
- npm run test
|
Loading…
Reference in New Issue
Block a user