Skip to content

Commit

Permalink
Support Node 22 (#1434)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibc authored Aug 4, 2024
1 parent 87a3dff commit 5d445e3
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 22 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/mediasoup-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,27 @@ jobs:
node: 18
- os: ubuntu-22.04
node: 20
- os: ubuntu-22.04
node: 22
- os: ubuntu-24.04
node: 20
node: 22
meson_args: '-Db_sanitize=address'
- os: ubuntu-24.04
node: 20
node: 22
meson_args: '-Db_sanitize=undefined'
- os: ubuntu-24.04
node: 20
node: 22
meson_args: '-Db_sanitize=thread'
- os: macos-12
node: 18
- os: macos-14
node: 20
- os: macos-14
node: 22
- os: windows-2022
node: 20
- os: windows-2022
node: 22
build-type:
- Release
- Debug
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mediasoup-worker-prebuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
cc: cl
cxx: cl
node:
- 20
- 22

runs-on: ${{ matrix.build.os }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mediasoup-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
cxx: cl
# A single Node.js version should be fine for C++.
node:
- 20
- 22
build-type:
- Release
- Debug
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

### NEXT

- CI: Support Node 22 ([PR #1434](https://github.com/versatica/mediasoup/pull/1434)).

### 3.14.9

- Worker: Test, fix buffer overflow ([PR #1419](https://github.com/versatica/mediasoup/pull/1419)).
Expand Down
34 changes: 18 additions & 16 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"@octokit/rest": "^21.0.1",
"@types/debug": "^4.1.12",
"@types/jest": "^29.5.12",
"@types/node": "^20.14.12",
"@types/node": "^22.1.0",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"eslint": "^8.57.0",
Expand Down

0 comments on commit 5d445e3

Please sign in to comment.