Use modern Yarn version on Travis CI
Travis CI uses a quite old version of Yarn by default. This adds Yarn's recommended incantation for using the latest stable version.
This commit is contained in:
parent
fcaf0a5503
commit
a05e5d1e86
|
@ -19,6 +19,9 @@ node_js:
|
||||||
- 10
|
- 10
|
||||||
addons:
|
addons:
|
||||||
chrome: stable
|
chrome: stable
|
||||||
|
before_install:
|
||||||
|
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.13.0
|
||||||
|
- export PATH=$HOME/.yarn/bin:$PATH
|
||||||
install:
|
install:
|
||||||
# clone the deps with depth 1: we know we will only ever need that one
|
# clone the deps with depth 1: we know we will only ever need that one
|
||||||
# commit.
|
# commit.
|
||||||
|
|
Loading…
Reference in New Issue