Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Trello: https://trello.com/c/LPfsXT67/332-nodejs-v20-upgrade-for-cgap
Upgrades
> make build-docker-local
)master
and PRs. (also bumpsactions/checkout
andactions/python-setup
(tested by running on Github actions manuallyHow to install/use Node 20 using NVM
To install Node.js 20 using nvm (Node Version Manager) on a Mac, follow these steps:
1. Install nvm (if you haven't already)
If you don't have nvm installed, you can do so by running the following command in your terminal:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
After installation, add the following to your .zshrc or .bash_profile (depending on your shell):
Then, restart your terminal or run:
source ~/.zshrc # or ~/.bash_profile if using bash
2. Verify nvm installation
Run this command to ensure nvm is installed:
nvm --version
If the version appears, you are ready to install Node.js.
3. Install Node.js 20
Now, you can install Node.js version 20 with this command:
nvm install 20
4. Use Node.js 20
After installation, set Node.js 20 as the default version with:
nvm use 20
To make Node.js 20 the default version for every session, run:
nvm alias default 20
5. Verify Node.js 20 Installation
To verify that Node.js 20 is installed and being used, check the version with:
node --version
You should see output like v20.x.x.