Skip to content

Commit

Permalink
install yarn from npm (#3037)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-shibanov authored Mar 31, 2021
1 parent 7d7b362 commit b00dbe1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
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 @@ -310,6 +310,10 @@
{
"name": "lerna",
"command": "lerna"
},
{
"name": "yarn",
"command": "yarn"
}
]
}

0 comments on commit b00dbe1

Please sign in to comment.