Use yarn image instead of installing it every time
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kolaente 2019-10-19 18:36:41 +02:00
parent a0d281b0b4
commit cad4df5558
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 3 additions and 6 deletions

View File

@ -10,11 +10,10 @@ trigger:
steps:
- name: build
image: node:11-alpine
image: kolaente/yarn
pull: true
group: build-static
commands:
- apk add yarn
- yarn
- yarn run lint
- yarn run build
@ -31,11 +30,10 @@ trigger:
steps:
- name: build
image: node:11-alpine
image: kolaente/yarn
pull: true
group: build-static
commands:
- apk add yarn
- yarn
- yarn run lint
- "echo '{\"VIKUNJA_API_BASE_URL\": \"/api/v1/\"}' > /drone/src/public/config.json" # Override config
@ -87,11 +85,10 @@ trigger:
steps:
- name: build
image: node:11-alpine
image: kolaente/yarn
pull: true
group: build-static
commands:
- apk add yarn
- yarn
- yarn run lint
- "echo '{\"VIKUNJA_API_BASE_URL\": \"/api/v1/\"}' > /drone/src/public/config.json" # Override config