Skip to content

Commit b45165e

Browse files
committed
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.
1 parent c2c0675 commit b45165e

File tree

10 files changed

+14
-13
lines changed

10 files changed

+14
-13
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
uses: pnpm/action-setup@v2
1515
with:
1616
version: 9.12.0
17-
- name: Use Node.js 20.x
17+
- name: Use Node.js 22.x
1818
uses: actions/setup-node@v4
1919
with:
20-
node-version: 20.x
20+
node-version: 22.x
2121
cache: "pnpm"
2222
- name: Install Dependencies
2323
run: pnpm install --frozen-lockfile
@@ -57,7 +57,7 @@ jobs:
5757
version: 9.12.0
5858
- uses: actions/setup-node@v4
5959
with:
60-
node-version: 20.x
60+
node-version: 22.x
6161
registry-url: https://registry.npmjs.org/
6262
cache: "pnpm"
6363
- name: Install dependencies

.github/workflows/code-size.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
uses: pnpm/action-setup@v2
1313
with:
1414
version: 9.12.0
15-
- name: Use Node.js 20.x
15+
- name: Use Node.js 22.x
1616
uses: actions/setup-node@v4
1717
with:
18-
node-version: 20.x
18+
node-version: 22.x
1919
cache: "pnpm"
2020
- name: Install Dependencies
2121
run: pnpm install --frozen-lockfile

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ status = 301
3636
force = true
3737

3838
[build.environment]
39-
NODE_VERSION = "20.9.0"
39+
NODE_VERSION = "22.11.0"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"graphql": "16.8.1"
77
},
88
"engines": {
9-
"node": ">=16.0.0"
9+
"node": ">=22.0.0"
1010
},
1111
"scripts": {
1212
"test": "jest",

packages/ani-cursor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"author": "Jordan Eldredge <jordan@jordaneldredge.com>",
1919
"license": "MIT",
2020
"engines": {
21-
"node": ">=14.0.0"
21+
"node": ">=22.0.0"
2222
},
2323
"repository": {
2424
"type": "git",

packages/skin-database/scripts/reload.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/bin/bash
22
set -euo pipefail
33

4-
# Switch to Node 20
4+
# Switch to Node 22
55
export NVM_DIR="$HOME/.nvm"
66
source "$NVM_DIR/nvm.sh"
7-
nvm use 20
7+
nvm use 22
88

99
# Install dependencies
1010
yarn install --frozen-lockfile

packages/webamp-docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@
4444
]
4545
},
4646
"engines": {
47-
"node": ">=18.0"
47+
"node": ">=22.0.0"
4848
}
4949
}

packages/winamp-eqf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const eqf: EqfData = parser(eqfArrayBuffer);
1919
const eqfArrayBuffer: ArrayBuffer = creator(eqf);
2020
```
2121

22-
This package is an ES module and requires Node.js 14+ or a modern bundler that supports ES modules.
22+
This package is an ES module and requires Node.js 22+ or a modern bundler that supports ES modules.
2323

2424
## API
2525

packages/winamp-eqf/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"author": "Jordan Eldredge",
4141
"license": "ISC",
4242
"engines": {
43-
"node": ">=14.0.0"
43+
"node": ">=22.0.0"
4444
},
4545
"devDependencies": {
4646
"@swc/jest": "^0.2.24",

0 commit comments

Comments
 (0)