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
node_js:
- "10"
- 10
cache: yarn
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.10.1
- export PATH="$HOME/.yarn/bin:$PATH"
- curl -o- -L https://yarnpkg.com/install.sh | bash -s
- export PATH=$HOME/.yarn/bin:$PATH
install:
- yarn install --production=false
- yarn install
script:
- yarn lint
- yarn test