Skip to content

Commit adc0812

Browse files
committed
fix: Support Node 21 and drop 16
1 parent aa9a916 commit adc0812

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
strategy:
8484
matrix:
8585
os: [ubuntu-latest, macos-latest, windows-latest]
86-
node: [16, 18, 20]
86+
node: [18, 20]
8787
runs-on: ${{ matrix.os }}
8888
continue-on-error: true
8989
steps:

.github/workflows/update_deps.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ jobs:
2222
with:
2323
node-version: 20
2424
cache: npm
25-
# connect-gzip-static only supports node 16
26-
# @types/ws 8.5.5 is broken
27-
- run: npx npm-check-updates -u -x connect-gzip-static -x @types/ws
25+
- run: npx npm-check-updates -u
2826
- run: npm install
2927
- uses: peter-evans/create-pull-request@v5
3028
with:

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"url": "git+https://github.com/Koenkk/zigbee2mqtt.git"
99
},
1010
"engines": {
11-
"node": "^16 || ^18 || ^19 || ^20"
11+
"node": "^18 || ^20 || ^21"
1212
},
1313
"keywords": [
1414
"xiaomi",

0 commit comments

Comments
 (0)