Skip to content

Commit

Permalink
feat!: establish baseline Node.js version support
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Adds `engines.node` field in `package.json` with value of `^16.20.0 || ^18.0.0 || ^20.0.0 || ^22.0.0`. Versions which do not satisfy this range are unsupported.

- Adds Node.js v22 to build matrix
  • Loading branch information
boneskull committed Nov 27, 2024
1 parent c9d3f72 commit 41b3c07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
node: [16.x, 18.x, 20.x]
node: [16.x, 18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,8 @@
"rollup": "4.24.0",
"typescript": "5.6.3",
"yorkie": "2.0.0"
},
"engines": {
"node": "^16.20.0 || ^18.0.0 || ^20.0.0 || ^22.0.0"
}
}

0 comments on commit 41b3c07

Please sign in to comment.