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

29 lines
530 B
YAML

kind: pipeline
type: docker
name: LivingTogether-Lab
workspace:
path: /drone/src
steps:
- name: npm build
pull: if-not-exists
image: node
volumes:
- name: publish
path: /drone/src/build
- name: node_modules
path: /drone/src/node_modules
commands:
- npm config set registry https://registry.npm.taobao.org
- ls ./node_modules
- npm ci
- npm run release-lab
volumes:
- name: publish
host:
path: /http/living-together-lab
- name: node_modules
host:
path: /tmp/node_modules/living-together