Node.js Takes a Leap Forward: Dockerfile Upgraded to LTS Version 22!
With a bold shift from Node 21, developers promise enhanced compatibility and superior features to tackle dependency challenges.
Commit Details:
chore: upgrade dockerfile to use node 22 (#2165) ## Why is this change needed? Node 21 is not an LTS build and was used because we had issues with Node 20 on ARM. Changing to using Node 22 will allow us to use only LTS builds, which also solves issues with some dependencies like rimraf 6 explicitly disallowing node 21. ## Merge Checklist - [x] PR title adheres to the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) standard - [ ] PR has a [changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets) - [x] PR has been tagged with a change label(s) (i.e. documentation, feature, bugfix, or chore) - [ ] PR includes [documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs) if necessary. <!-- start pr-codex --> --- ## PR-Codex overview This PR updates the Node.js version in the Dockerfile and GitHub Actions workflow to 22.4.1, ensuring compatibility and possibly leveraging new features. ### Detailed summary - Updated Node.js version in Dockerfile from 21.6 to 22.4.1 - Updated Node.js version in GitHub Actions workflow from 21 to 22 > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->