Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Define NETLIFY_BUILD_NODE_VERSION and "nvm install" it#375

Merged
Benaiah merged 2 commits intoxenialfrom
define-and-install-NETLIFY_BUILD_NODE_VERSION
Feb 29, 2020
Merged

Define NETLIFY_BUILD_NODE_VERSION and "nvm install" it#375
Benaiah merged 2 commits intoxenialfrom
define-and-install-NETLIFY_BUILD_NODE_VERSION

Conversation

@Benaiah
Copy link
Copy Markdown
Contributor

@Benaiah Benaiah commented Feb 27, 2020

Also adds --no-progress flag to nvm install commands to clean up logs.

@Benaiah
Copy link
Copy Markdown
Contributor Author

Benaiah commented Feb 28, 2020

#376 should fix the CI failure on this PR.

@Benaiah Benaiah requested a review from ehmicky February 28, 2020 21:43
Copy link
Copy Markdown
Contributor

@ehmicky ehmicky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Just one detail: I don't think you need to do nvm use 10. When doing nvm install --no-progress 10, it automatically switches to Node 10 at the end. You might want to add a comment though to specify that the command is meant here to both install and switch version.

@Benaiah Benaiah force-pushed the define-and-install-NETLIFY_BUILD_NODE_VERSION branch from aad3dfa to 6d57b00 Compare February 28, 2020 22:16
@Benaiah
Copy link
Copy Markdown
Contributor Author

Benaiah commented Feb 28, 2020

Ok, removed the extraneous nvm use 10.

@Benaiah Benaiah merged commit 0755106 into xenial Feb 29, 2020
@kitop kitop deleted the define-and-install-NETLIFY_BUILD_NODE_VERSION branch May 11, 2022 14:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants