Commit f637c42d authored by Mike Greiling's avatar Mike Greiling

Merge branch 'source-install-yarn-2' into 'master'

Install 'yarn' globally to avoid PATH issues

See merge request !13273
parents 25911e08 cb36c3b2
...@@ -168,8 +168,10 @@ are out of date, so we'll need to install through the following commands: ...@@ -168,8 +168,10 @@ are out of date, so we'll need to install through the following commands:
curl --location https://deb.nodesource.com/setup_7.x | sudo bash - curl --location https://deb.nodesource.com/setup_7.x | sudo bash -
sudo apt-get install -y nodejs sudo apt-get install -y nodejs
# install yarn curl --silent --show-error https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
curl --location https://yarnpkg.com/install.sh | bash - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update
sudo apt-get install yarn
Visit the official websites for [node](https://nodejs.org/en/download/package-manager/) and [yarn](https://yarnpkg.com/en/docs/install/) if you have any trouble with these steps. Visit the official websites for [node](https://nodejs.org/en/download/package-manager/) and [yarn](https://yarnpkg.com/en/docs/install/) if you have any trouble with these steps.
......
...@@ -65,7 +65,10 @@ Since 8.17, GitLab requires the use of yarn `>= v0.17.0` to manage ...@@ -65,7 +65,10 @@ Since 8.17, GitLab requires the use of yarn `>= v0.17.0` to manage
JavaScript dependencies. JavaScript dependencies.
```bash ```bash
curl --location https://yarnpkg.com/install.sh | bash - curl --silent --show-error https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update
sudo apt-get install yarn
``` ```
More information can be found on the [yarn website](https://yarnpkg.com/en/docs/install). More information can be found on the [yarn website](https://yarnpkg.com/en/docs/install).
......
...@@ -65,7 +65,10 @@ Since 8.17, GitLab requires the use of yarn `>= v0.17.0` to manage ...@@ -65,7 +65,10 @@ Since 8.17, GitLab requires the use of yarn `>= v0.17.0` to manage
JavaScript dependencies. JavaScript dependencies.
```bash ```bash
curl --location https://yarnpkg.com/install.sh | bash - curl --silent --show-error https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update
sudo apt-get install yarn
``` ```
More information can be found on the [yarn website](https://yarnpkg.com/en/docs/install). More information can be found on the [yarn website](https://yarnpkg.com/en/docs/install).
......
...@@ -65,7 +65,10 @@ Since 8.17, GitLab requires the use of yarn `>= v0.17.0` to manage ...@@ -65,7 +65,10 @@ Since 8.17, GitLab requires the use of yarn `>= v0.17.0` to manage
JavaScript dependencies. JavaScript dependencies.
```bash ```bash
curl --location https://yarnpkg.com/install.sh | bash - curl --silent --show-error https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update
sudo apt-get install yarn
``` ```
More information can be found on the [yarn website](https://yarnpkg.com/en/docs/install). More information can be found on the [yarn website](https://yarnpkg.com/en/docs/install).
......
...@@ -65,7 +65,10 @@ Since 8.17, GitLab requires the use of yarn `>= v0.17.0` to manage ...@@ -65,7 +65,10 @@ Since 8.17, GitLab requires the use of yarn `>= v0.17.0` to manage
JavaScript dependencies. JavaScript dependencies.
```bash ```bash
curl --location https://yarnpkg.com/install.sh | bash - curl --silent --show-error https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update
sudo apt-get install yarn
``` ```
More information can be found on the [yarn website](https://yarnpkg.com/en/docs/install). More information can be found on the [yarn website](https://yarnpkg.com/en/docs/install).
......
...@@ -65,7 +65,10 @@ Since 8.17, GitLab requires the use of yarn `>= v0.17.0` to manage ...@@ -65,7 +65,10 @@ Since 8.17, GitLab requires the use of yarn `>= v0.17.0` to manage
JavaScript dependencies. JavaScript dependencies.
```bash ```bash
curl --location https://yarnpkg.com/install.sh | bash - curl --silent --show-error https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update
sudo apt-get install yarn
``` ```
More information can be found on the [yarn website](https://yarnpkg.com/en/docs/install). More information can be found on the [yarn website](https://yarnpkg.com/en/docs/install).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment