From cad4df55588cf1b981dbe08322233e3c65c996ab Mon Sep 17 00:00:00 2001 From: kolaente Date: Sat, 19 Oct 2019 18:36:41 +0200 Subject: [PATCH] Use yarn image instead of installing it every time --- .drone.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index c703a4a21..019764019 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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