mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 13:17:54 +00:00
[Ubuntu] Fix Netlify installation, move its and vercel's installation to Nodejs.sh (#2666)
* fix netlify installation * debug * resolve comments * small fix
This commit is contained in:
committed by
GitHub
parent
902346ebcd
commit
395127da8f
@@ -7,8 +7,15 @@
|
||||
# Install LTS Node.js and related build tools
|
||||
curl -sL https://raw.githubusercontent.com/mklement0/n-install/stable/bin/n-install | bash -s -- -ny -
|
||||
~/n/bin/n lts
|
||||
npm install -g grunt gulp n parcel-bundler typescript newman
|
||||
npm install -g grunt gulp n parcel-bundler typescript newman vercel
|
||||
npm install -g --save-dev webpack webpack-cli
|
||||
|
||||
# Install the Netlify CLI using --unsafe-perm=true options to avoid permission issues
|
||||
npm install -g --unsafe-perm=true netlify-cli
|
||||
|
||||
echo "Creating the symlink for [now] command to vercel CLI"
|
||||
ln -s /usr/local/bin/vercel /usr/local/bin/now
|
||||
|
||||
rm -rf ~/n
|
||||
|
||||
# Install Yarn repository and key
|
||||
|
||||
Reference in New Issue
Block a user