Drone CI Test
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
MrKBear 2022-02-20 11:14:40 +08:00
parent 3ac80cc3e5
commit 11b1bbe223

View File

@ -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