Skip to content

Commit 11e7a1f

Browse files
committed
build: require Node >= 22 and build with Node 24
Add an `engines` floor of Node >= 22 to package.json and mirror it into package-lock.json, and bump @types/node to ^24.13.3 so the typings match the runtime the plugin is built with. Move CI onto Node 24 (was Node 20). Raise the Debian Build-Depends floor to nodejs (>= 22) and install Node 24 from NodeSource when building the package.
1 parent 3d51b5f commit 11e7a1f

7 files changed

Lines changed: 32 additions & 24 deletions

File tree

.github/workflows/build-plugin-deb-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
3535
- name: Set up Node.js
3636
run: |
37-
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
37+
curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash -
3838
sudo apt-get install -y nodejs
3939
4040
- name: Verify Node.js installation

.github/workflows/publish-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Node.js
2020
uses: actions/setup-node@v3
2121
with:
22-
node-version: '20'
22+
node-version: '24'
2323

2424
- name: Get triggering user's email
2525
run: |

.github/workflows/ts-code-compilation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: install node
1515
uses: actions/setup-node@v4
1616
with:
17-
node-version: 20.x
17+
node-version: 24.x
1818
- name: run npm install
1919
run: npm install
2020
- name: typescript code compilation

.github/workflows/ts-code-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: install node
1616
uses: actions/setup-node@v4
1717
with:
18-
node-version: 20.x
18+
node-version: 24.x
1919
- name: run npm install
2020
run: npm install
2121
- name: typescript code validation with eslint

debian/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Source: bbb-plugin-decrease-volume-on-speak
22
Section: web
33
Priority: extra
44
Maintainer: Anton Georgiev <anton.georgiev@blindsidenetworks.com>
5-
Build-Depends: debhelper (>= 13), nodejs (>= 18)
5+
Build-Depends: debhelper (>= 13), nodejs (>= 22)
66
Standards-Version: 4.1.4
77
Homepage: https://github.com/bigbluebutton/plugin-decrease-volume-on-speak
88

package-lock.json

Lines changed: 22 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@
33
"version": "0.1.1",
44
"private": true,
55
"main": "./src/index.tsx",
6+
"engines": {
7+
"node": ">=22"
8+
},
69
"dependencies": {
710
"@testing-library/react": "^13.4.0",
811
"@testing-library/user-event": "^13.5.0",
9-
"@types/node": "^20.3.1",
12+
"@types/node": "^24.13.3",
1013
"@types/react": "^18.2.13",
1114
"@types/react-dom": "^18.2.6",
1215
"babel-plugin-syntax-dynamic-import": "^6.18.0",
@@ -43,7 +46,7 @@
4346
"@babel/core": "^7.21.8",
4447
"@babel/preset-env": "^7.21.5",
4548
"@babel/preset-react": "^7.18.6",
46-
"@types/node": "^20.4.4",
49+
"@types/node": "^24.13.3",
4750
"@types/react": "^18.2.15",
4851
"@types/react-dom": "^18.2.7",
4952
"@types/react-modal": "^3.16.0",

0 commit comments

Comments
 (0)