Switched to yarn for drone
the build failed Details

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
Jim Martens 2019-02-27 16:12:03 +01:00
parent c24b8ab57c
commit 608257f39c
1 changed files with 6 additions and 4 deletions

View File

@ -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: