Skip to content

Commit

Permalink
feat!: establish baseline Node.js version support (#184)
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 authored Dec 2, 2024
1 parent 8ef78d1 commit 8600392
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.2",
"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 8600392

Please sign in to comment.