From 565c825c5bed6ad971ca26afaf47d30d1b263efa Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Fri, 26 Mar 2021 14:30:10 +0300 Subject: [PATCH] install yarn from npm --- images/linux/scripts/installers/nodejs.sh | 8 -------- images/linux/toolsets/toolset-1604.json | 4 ++++ images/linux/toolsets/toolset-1804.json | 4 ++++ images/linux/toolsets/toolset-2004.json | 4 ++++ 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/images/linux/scripts/installers/nodejs.sh b/images/linux/scripts/installers/nodejs.sh index 020662f3b61b..a9a108235c0d 100644 --- a/images/linux/scripts/installers/nodejs.sh +++ b/images/linux/scripts/installers/nodejs.sh @@ -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" diff --git a/images/linux/toolsets/toolset-1604.json b/images/linux/toolsets/toolset-1604.json index 1bacd5e2368b..c332a88d70ea 100644 --- a/images/linux/toolsets/toolset-1604.json +++ b/images/linux/toolsets/toolset-1604.json @@ -296,6 +296,10 @@ { "name": "netlify-cli", "command": "netlify" + }, + { + "name": "yarn", + "command": "yarn" } ] } diff --git a/images/linux/toolsets/toolset-1804.json b/images/linux/toolsets/toolset-1804.json index cc96345bf215..05c7ba6d3102 100644 --- a/images/linux/toolsets/toolset-1804.json +++ b/images/linux/toolsets/toolset-1804.json @@ -303,6 +303,10 @@ { "name": "netlify-cli", "command": "netlify" + }, + { + "name": "yarn", + "command": "yarn" } ] } diff --git a/images/linux/toolsets/toolset-2004.json b/images/linux/toolsets/toolset-2004.json index e1499a2e5f7f..0f23f13d6193 100644 --- a/images/linux/toolsets/toolset-2004.json +++ b/images/linux/toolsets/toolset-2004.json @@ -309,6 +309,10 @@ { "name": "lerna", "command": "lerna" + }, + { + "name": "yarn", + "command": "yarn" } ] }