Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ubuntu] Install yarn from npm #3037

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions images/linux/scripts/installers/nodejs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,4 @@ ln -s /usr/local/bin/vercel /usr/local/bin/now

rm -rf ~/n

# Install Yarn repository and key
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
apt-get update

# Install yarn
apt-get install -y --no-install-recommends yarn

invoke_tests "Node" "Node.js"
4 changes: 4 additions & 0 deletions images/linux/toolsets/toolset-1604.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,10 @@
{
"name": "netlify-cli",
"command": "netlify"
},
{
"name": "yarn",
"command": "yarn"
}
]
}
4 changes: 4 additions & 0 deletions images/linux/toolsets/toolset-1804.json
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,10 @@
{
"name": "netlify-cli",
"command": "netlify"
},
{
"name": "yarn",
"command": "yarn"
}
]
}
4 changes: 4 additions & 0 deletions images/linux/toolsets/toolset-2004.json
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,10 @@
{
"name": "lerna",
"command": "lerna"
},
{
"name": "yarn",
"command": "yarn"
}
]
}