-
Notifications
You must be signed in to change notification settings - Fork 6
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
Update Node version in Build / Test workflow #103
Comments
While on BEARS, I used nvm (Node Version Manager) to manage the version of Node that's used: https://github.com/GSA-TTS/usagov-benefits-eligibility/blob/main/.github/workflows/test.yml#L20-L27 Adopting this (or something like it) will allow us to use nvm for Node version management; in the above case, the .nvmrc only includes 18 so nvm will use the most recent version of Node version 18. Currently, Pages uses nvm and supports the "active and maintenance LTS" releases of Node with the default version being 18 (specifically, 18.19.0). |
The Node release / support documentation is here: https://github.com/nodejs/release#release-schedule |
In #105, the Pa11y workflow was updated to use the live preview URLs generated by Cloud.gov Pages. As a result, we're no longer building the site, so we don't need to install requirements from tl;dr: the Pa11y workflow no longer needs to be updated. |
FWIW, we went from 16.15.1 => 18.19.0. This update required a change in the |
The current Pa11y and proposed Test workflows hard-code Node version 17. Version 17 is no longer supported by either the Node or the Pages communities.
The text was updated successfully, but these errors were encountered: