Drone CI Test
This commit is contained in:
parent
cdb9ba3a14
commit
17ba452d22
11
.drone.yml
11
.drone.yml
@ -6,8 +6,17 @@ steps:
|
|||||||
- name: npm build
|
- name: npm build
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
image: node
|
image: node
|
||||||
|
volumes:
|
||||||
|
- name: publish
|
||||||
|
path: /tmp/cache
|
||||||
commands:
|
commands:
|
||||||
- npm config set registry https://registry.npm.taobao.org
|
- npm config set registry https://registry.npm.taobao.org
|
||||||
- npm ci
|
- npm ci
|
||||||
- npm run release-lab
|
- npm run release-lab
|
||||||
- cp -r build/* /http/demo/living-together-lab/
|
- mkdir /tmp/cache
|
||||||
|
- cp -r build/* /tmp/cache
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: publish
|
||||||
|
host:
|
||||||
|
path: /http/demo/living-together-lab
|
Loading…
Reference in New Issue
Block a user