living-together/.drone.yml
MrKBear 17ba452d22
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone Build is failing
Drone CI Test
2022-02-20 03:02:15 +08:00

22 lines
396 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 /tmp/cache
- cp -r build/* /tmp/cache
volumes:
- name: publish
host:
path: /http/demo/living-together-lab