Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ on:
required: false
default: "lts/*"
min_node_version:
description: "Minimum Node.js version for matrix testing (default: 20, oldest non-EOL)"
description: "Minimum Node.js version for matrix testing (default: 22, oldest non-EOL LTS)"
type: string
required: false
default: "20"
default: "22"
max_node_major:
description: "Override max Node.js major version (default: 22)"
type: string
Expand Down Expand Up @@ -184,12 +184,12 @@ jobs:
.gitignore
debug: ${{ github.event.inputs.debug == 'true' }}
node_version: ${{ github.event.inputs.node_version || 'lts/*' }}
min_node_version: ${{ github.event.inputs.min_node_version || '20' }}
min_node_version: ${{ github.event.inputs.min_node_version || '22' }}
max_node_major: ${{ github.event.inputs.max_node_major || '22' }}
# LTS-only matrix (even majors: 20, 22, 24, …) on every event. Odd majors
# (21, 23, …) are non-LTS interim releases, and the native-binding test
# LTS-only matrix (even majors: 22, 24, …) on every event. Odd majors
# (23, 25, …) are non-LTS interim releases, and the native-binding test
# toolchain (vitest 4 / rolldown / vite 8) excludes them via `engines`
# (`^20.19.0 || >=22.12.0`), so a "full matrix" on them only re-discovers a
# (`>=22.12.0`), so a "full matrix" on them only re-discovers a
# known toolchain gap ("Cannot find native binding") rather than a real
# per-version regression. workflow_dispatch can still opt out (set false).
lts_only_matrix: ${{ github.event.inputs.lts_only_matrix != 'false' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ on:
description: "Minimum Node.js version for matrix testing (enables matrix when set)"
type: string
required: false
default: "20"
default: "22"
max_node_major:
description: "Override max Node.js major version (default: 22)"
type: string
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
publish_to_github_packages: ${{ github.event.inputs.publish_to_github_packages != 'false' }}
publish_command: ""
github_packages_publish_command: ""
min_node_version: ${{ github.event.inputs.min_node_version || '20' }}
min_node_version: ${{ github.event.inputs.min_node_version || '22' }}
max_node_major: ${{ github.event.inputs.max_node_major || '22' }}
test_command: "npm test" # Use defaults: NODE_ENV=development, NODE_OPTIONS=--conditions=development
# test_command: "NODE_OPTIONS='--conditions=slothlet-dev' npm test" # Override NODE_OPTIONS only
Expand Down
45 changes: 35 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"node": ">=20.19.0"
"node": ">=22.12.0"
},
"author": {
"name": "Shinrai",
Expand Down Expand Up @@ -81,8 +81,8 @@
"dependencies": {
"@cldmv/slothlet": "^3.7.0",
"@cldmv/wisp": "^1.0.1",
"chalk": "^5.4.1",
"commander": "^14.0.0",
"chalk": "^6.0.0",
"commander": "^15.0.0",
"marked": "^15.0.12",
"marked-terminal": "^7.3.0"
},
Expand Down