chore: update Node.js engine requirements and CI workflow

- Updated Node.js engine requirement in package.json and package-lock.json to ">=22.12.0".
- Modified GitHub Actions workflow to test against Node.js versions 22, 24, and 26, removing version 20.
This commit is contained in:
2026-06-21 14:11:31 -04:00
parent 0cfe86eeeb
commit e9ab19600b
3 changed files with 4 additions and 7 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: ["20", "22", "24"]
node: ["22", "24", "26"]
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # ratchet:actions/checkout@v7
@@ -56,7 +56,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node: ["20", "22", "24"]
node: ["22", "24", "26"]
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # ratchet:actions/checkout@v7
+1 -1
View File
@@ -28,7 +28,7 @@
"vitest": "^4.1.9"
},
"engines": {
"node": "^20.19.0 || >=22.12.0"
"node": ">=22.12.0"
},
"optionalDependencies": {
"@jakejarvis/hugo-extended-darwin-universal": "0.163.3",
+1 -4
View File
@@ -87,9 +87,6 @@
"@jakejarvis/hugo-windows-arm64": "0.163.3"
},
"engines": {
"node": "^20.19.0 || >=22.12.0"
},
"allowScripts": {
"fsevents@2.3.3": true
"node": ">=22.12.0"
}
}