fix yarn installation

This commit is contained in:
Mike Greiling 2017-02-13 14:09:06 -06:00
parent ba95510cb4
commit 1dde272ab2

View file

@ -2,7 +2,10 @@
set -xeo pipefail
curl --silent --location https://deb.nodesource.com/setup_7.x | bash -
apt-get install -y nodejs
# add official debian repos for node and yarn
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