mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 11:37:00 +00:00
[Ubuntu] Fix npm global modules installation (#3734)
* fixed directories permissions * local bin permissions Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
This commit is contained in:
@@ -30,6 +30,11 @@ done
|
||||
echo "Creating the symlink for [now] command to vercel CLI"
|
||||
ln -s /usr/local/bin/vercel /usr/local/bin/now
|
||||
|
||||
# fix global modules installation as regular user
|
||||
# related issue https://github.com/actions/virtual-environments/issues/3727
|
||||
sudo chmod -R 777 /usr/local/lib/node_modules
|
||||
sudo chmod -R 777 /usr/local/bin
|
||||
|
||||
rm -rf ~/n
|
||||
|
||||
invoke_tests "Node" "Node.js"
|
||||
|
||||
Reference in New Issue
Block a user