From 608257f39c54e81d141226e619b646a14c516f18 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Wed, 27 Feb 2019 16:12:03 +0100 Subject: [PATCH] Switched to yarn for drone Signed-off-by: Jim Martens --- .drone.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7166fd6..2f7ec39 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,7 +5,8 @@ pipeline: restore: true mount: - /drone/.bundle - - node_modules + - ./.yarn-cache + - ./node_modules volumes: - jekyll-blog-cache:/cache build: @@ -17,8 +18,8 @@ pipeline: - export LC_ALL="C.UTF-8" - ruby -e 'puts STDIN.external_encoding' # figure out the encoding used - bundle install - - npm set audit false - - npm install + - yarn config set cache-folder .yarn-cache + - yarn install --pure-lockfile - gulp build rebuild-cache: privileged: true @@ -26,7 +27,8 @@ pipeline: rebuild: true mount: - /drone/.bundle - - node_modules + - ./.yarn-cache + - ./node_modules volumes: - jekyll-blog-cache:/cache deploy: