Dockerfile's node version (tested by running > make build-docker-local)
GH actions main.yml that is the default workflow for master and PRs. (also bumps actions/checkout and actions/python-setup (tested by running on Github actions manually)
GH actions for Cypress tests for data/staging/hotseat (tested by running on Github actions manually)
Firstly, we had plans to skip v20 and instead jump into v22. Then we gave up since it had some time to be stable. Unless you have a specific requirement for v22, migrating to v20 looks sufficient since GH actions currently supports/recommends v20 as default.
How 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:
Trello: https://trello.com/c/zw6tQAhQ
Upgrades
> make build-docker-local
)master
and PRs. (also bumpsactions/checkout
andactions/python-setup
(tested by running on Github actions manually)Firstly, we had plans to skip v20 and instead jump into v22. Then we gave up since it had some time to be stable. Unless you have a specific requirement for v22, migrating to v20 looks sufficient since GH actions currently supports/recommends
v20
as default.How 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.