build with yarn

This commit is contained in:
cupcakearmy 2019-08-24 10:32:22 +02:00
parent 6b7d9ad20a
commit ce7e8d548b

View File

@ -3,13 +3,12 @@ name: default
steps: steps:
- name: build - name: build
image: node:11-alpine image: cupcakearmy/yarn
pull: always pull: always
commands: commands:
- node -v - node -v
- npm -v - yarn
- npm i - yarn run build:prod
- npm run build:prod
- name: deploy - name: deploy
image: cupcakearmy/drone-deploy image: cupcakearmy/drone-deploy