Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to Node 20 & simplify CI Node install (#431)
https://eaflood.atlassian.net/browse/WATER-4077 Our environments are currently running on Node.js Version 14. [v14 went end-of-life in April 2023](https://endoflife.date/nodejs) which means no more maintenance or security fixes will be provided. The current Long Term Support (LTS) version is currently v18 though in a couple of weeks it will switch to v20. So, we're updating our environments to run with Node v20. This covers all changes needed to support the upgrade. While doing this we spotted that https://github.com/actions/setup-node supports setting the version using the .nvmrc file directly. So, we also used this opportunity to simplify our CI workflow.
- Loading branch information