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