Upgraded node to 24.20 - #1892
Conversation
|
There was a problem hiding this comment.
Do we definitely want to bump the required Node version for Web Forms with each release? I don't remember what the policy is. @garethbowen, would you mind taking a look?
There was a problem hiding this comment.
For the npm packages, if anyone else is using them, it would be very annoying to bump the version every time. And if we leave the "engines" version at 24.16 then I think we need to leave the CI at 24.16 to ensure we don't break anything.
The intention was to use the node matrix when 26 goes LTS next month so we would test 24.16 and 26.x.
It's fine to bump the volta version to be consistent with frontend so dev uses 20.20.
There was a problem hiding this comment.
Is there a way to bump the top-level engines without bumping engines for the individual Web Forms packages? I.e., can we bump engines for Central Frontend and the forms app without bumping engines for the individual packages?
I feel like it's a valuable verification step to check that Central Frontend CI runs successfully under the version of Node that we're actually deploying in production.
Or will that level of verification be achieved once we move to the node matrix?
There was a problem hiding this comment.
Never mind! I just met with the brains trust and we decided WF will align with the central process for node versions, until someone who is actually using the npm packages starts complaining.
garethbowen
left a comment
There was a problem hiding this comment.
Thanks. I don't know if the WF policy is documented anywhere (will discuss in the next team meeting) but added a comment with my understanding.
There was a problem hiding this comment.
For the npm packages, if anyone else is using them, it would be very annoying to bump the version every time. And if we leave the "engines" version at 24.16 then I think we need to leave the CI at 24.16 to ensure we don't break anything.
The intention was to use the node matrix when 26 goes LTS next month so we would test 24.16 and 26.x.
It's fine to bump the volta version to be consistent with frontend so dev uses 20.20.
|
I'm going to go ahead and merge this just to make sure there's no conflict with #1899. |
|
I feel like @garethbowen's checkmark is sufficient to merge in terms of code review. |
|
I see that there was some issue with required checks not starting. Is it because the checks reference the old Node version |
|
yup that's the reason. I thought it was github's glitch. For now I have removed I wonder if we should remove the node version number from the action name. |
Partially closes getodk/central#2212
Sibling PR: getodk/central-backend#1936