install yarn from npm (#3037)

This commit is contained in:
Dmitry Shibanov
2021-03-31 10:33:46 +03:00
committed by GitHub
parent 7d7b362d79
commit b00dbe1036
4 changed files with 12 additions and 8 deletions

View File

@@ -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"