Skip to content

Commit 1a92452

Browse files
author
Daniel Ruf
committed
ci: update Yarn with the recommended official commands
1 parent 9dffe62 commit 1a92452

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,14 @@ cache:
99
- node_modules
1010

1111
before_install:
12+
- sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg
13+
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
14+
- sudo apt-get update -qq
15+
- sudo apt-get install -y -qq yarn
1216
- chmod +x start-server.sh
1317

1418
before_script:
15-
- npm install -g yarn
16-
- yarn install
19+
- yarn
1720
- './start-server.sh'
1821

1922
script:

0 commit comments

Comments
 (0)