Skip to content

Commit

Permalink
changes to v20 from v18 in setup-user local feature
Browse files Browse the repository at this point in the history
  • Loading branch information
gauravsaini04 committed Nov 20, 2024
1 parent 38b4976 commit 6a35526
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ find "${OPT_DIR}" -type d | xargs -n 1 chmod g+s
echo "Defaults secure_path=\"${DOTNET_PATH}:${NODE_PATH}/bin:${PHP_PATH}/bin:${PYTHON_PATH}/bin:${JAVA_PATH}/bin:${RUBY_PATH}/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin:/usr/local/share:/home/${USERNAME}/.local/bin:${PATH}\"" >> /etc/sudoers.d/$USERNAME

# Temporary: Due to GHSA-c2qf-rxjj-qqgw
bash -c ". /usr/local/share/nvm/nvm.sh && nvm use 18"
bash -c "npm -g install -g npm@9.8.1"
bash -c ". /usr/local/share/nvm/nvm.sh && nvm use 20"
bash -c "npm -g install -g npm@10.9.0"
bash -c ". /usr/local/share/nvm/nvm.sh && nvm use stable"

echo "Done!"

0 comments on commit 6a35526

Please sign in to comment.