-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moved to nvm to handle node installation. #984
Moved to nvm to handle node installation. #984
Conversation
…o feature/distributed-demo
https://deb.nodesource.com/node_%s.x nodistro main" "$NODE_MAJOR" | \ | ||
sudo tee /etc/apt/sources.list.d/nodesource.list | ||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash | ||
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Declare and assign separately to avoid masking return values.
sudo tee /etc/apt/sources.list.d/nodesource.list | ||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash | ||
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" | ||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't follow non-constant source. Use a directive to specify location.
@@ -113,17 +113,23 @@ option with care. | |||
To manage collaboration by multiple developers on the software, | |||
a development workflow is in place. Each developer should follow these steps: | |||
|
|||
<!-- | |||
TODO Insert before Use fork,branch ... when githooks works |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO found
Code Climate has analyzed commit 679fb79 and detected 3 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
Installs Node 22 through nvm instead of manually fetching packages. This fixes nvm for Linux for #962