mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 13:17:54 +00:00
install yarn from npm (#3037)
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -296,6 +296,10 @@
|
||||
{
|
||||
"name": "netlify-cli",
|
||||
"command": "netlify"
|
||||
},
|
||||
{
|
||||
"name": "yarn",
|
||||
"command": "yarn"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -303,6 +303,10 @@
|
||||
{
|
||||
"name": "netlify-cli",
|
||||
"command": "netlify"
|
||||
},
|
||||
{
|
||||
"name": "yarn",
|
||||
"command": "yarn"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -310,6 +310,10 @@
|
||||
{
|
||||
"name": "lerna",
|
||||
"command": "lerna"
|
||||
},
|
||||
{
|
||||
"name": "yarn",
|
||||
"command": "yarn"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user