Merge branch 'fix-yarn-dependency' into 'master'

Fix yarn installation

Closes #7

See merge request !24
This commit is contained in:
Jacob Schatz 2017-02-13 20:36:43 +00:00
commit c2013e7fc5

View file

@ -2,7 +2,10 @@
set -xeo pipefail set -xeo pipefail
curl --silent --location https://deb.nodesource.com/setup_7.x | bash - # add official debian repos for node and yarn
apt-get install -y nodejs curl -sS -L https://deb.nodesource.com/setup_7.x | bash -
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
curl -o- -L https://yarnpkg.com/install.sh | bash apt-get update
apt-get install -y nodejs yarn