This commit is contained in:
parent
3ac80cc3e5
commit
11b1bbe223
@ -11,20 +11,18 @@ steps:
|
|||||||
image: node
|
image: node
|
||||||
volumes:
|
volumes:
|
||||||
- name: publish
|
- name: publish
|
||||||
path: /tmp/cache
|
path: /drone/src/build
|
||||||
- name: node_modules
|
- name: node_modules
|
||||||
path: /drone/src/node_modules
|
path: /drone/src/node_modules
|
||||||
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
|
||||||
- mkdir -p /tmp/cache
|
|
||||||
- cp -f -r build/* /tmp/cache
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: publish
|
- name: publish
|
||||||
host:
|
host:
|
||||||
path: /http/demo/living-together-lab
|
path: /http/living-together-lab
|
||||||
- name: node_modules
|
- name: node_modules
|
||||||
host:
|
host:
|
||||||
path: /tmp/node_modules/living-together
|
path: /tmp/node_modules/living-together
|
Loading…
Reference in New Issue
Block a user