install always latest yarn version

This commit is contained in:
Philipp Kühn
2018-11-14 17:43:53 +01:00
parent 902083ec1a
commit a78a2c90d4

View File

@@ -1,12 +1,17 @@
language: node_js language: node_js
node_js: node_js:
- "10" - 10
cache: yarn cache: yarn
before_install: before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.10.1 - curl -o- -L https://yarnpkg.com/install.sh | bash -s
- export PATH="$HOME/.yarn/bin:$PATH" - export PATH=$HOME/.yarn/bin:$PATH
install: install:
- yarn install --production=false - yarn install
script: script:
- yarn lint - yarn lint
- yarn test - yarn test