living-together/.drone.yml
MrKBear ca5e72d6f5
All checks were successful
continuous-integration/drone/push Build is passing
Drone CI Test
2022-02-20 10:38:08 +08:00

22 lines
402 B
YAML

kind: pipeline
type: docker
name: LivingTogether-Lab
steps:
- name: npm build
pull: if-not-exists
image: node
volumes:
- name: publish
path: /tmp/cache
commands:
- npm config set registry https://registry.npm.taobao.org
- npm ci
- npm run release-lab
- mkdir -p /tmp/cache
- cp -f -r build/* /tmp/cache
volumes:
- name: publish
host:
path: /http/demo/living-together-lab