add drone
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Sambo Chea 2020-04-17 20:23:10 +07:00
parent 8b972865ed
commit c2d7a8f8f4

21
.drone.yml Normal file
View 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