Upgrade node 22 lts (#1305)

* Upgrade Node.js to v22 LTS across the entire repo

- Update CI workflows (.github/workflows/ci.yml, code-size.yml) to use Node.js 22.x
- Update Netlify config to use Node.js 22.11.0
- Update all package.json engines to require Node.js 22.0.0+
- Add .nvmrc file with Node.js 22 for local development
- Update documentation to reflect Node.js 22+ requirement
- Update skin-database scripts to use Node.js 22
- Tested locally with nvm and confirmed builds work correctly

Node.js v22 is the current LTS version and provides improved performance
and security features. All packages now require Node.js 22+ to ensure
consistency across development, CI, and production environments.

* Don't update node version here
This commit is contained in:
Jordan Eldredge 2025-07-07 10:30:13 -07:00 committed by GitHub
parent c2c067588d
commit 8425adaeff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 15 additions and 16 deletions

View file

@ -14,10 +14,10 @@ jobs:
uses: pnpm/action-setup@v2
with:
version: 9.12.0
- name: Use Node.js 20.x
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x
cache: "pnpm"
- name: Install Dependencies
run: pnpm install --frozen-lockfile
@ -57,7 +57,7 @@ jobs:
version: 9.12.0
- uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x
registry-url: https://registry.npmjs.org/
cache: "pnpm"
- name: Install dependencies

View file

@ -12,10 +12,10 @@ jobs:
uses: pnpm/action-setup@v2
with:
version: 9.12.0
- name: Use Node.js 20.x
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x
cache: "pnpm"
- name: Install Dependencies
run: pnpm install --frozen-lockfile