Update .drone.yml
continuous-integration/drone/push Build is passing Details

This commit is contained in:
周炽键 2021-06-02 18:37:28 +08:00
parent 9499104723
commit b0ea7fced4
1 changed files with 4 additions and 1 deletions

View File

@ -21,6 +21,9 @@ steps:
- name: build - name: build
image: node:12.16.1 image: node:12.16.1
commands: commands:
- ls -l | grep node_modules
- cd node_modules
- ls -l
- yarn - yarn
- yarn build:prod - yarn build:prod
@ -33,7 +36,7 @@ steps:
rebuild: true rebuild: true
mount: mount:
- ./node_modules - ./node_modules
- ./build:./dist - ../dist
volumes: volumes:
- name: modules - name: modules