gitlab-build-images/scripts/install-node
DJ Mountney 5ad635ca9e Adding Yarn for use instead of npm
See the following issue for details: https://gitlab.com/gitlab-org/gitlab-ce/issues/27613

But essentially we need to be able to lock down sub-dependancies
2017-02-07 14:33:32 -08:00

8 lines
180 B
Bash
Executable file

#!/bin/bash
set -xeo pipefail
curl --silent --location https://deb.nodesource.com/setup_7.x | bash -
apt-get install -y nodejs
curl -o- -L https://yarnpkg.com/install.sh | bash