Skip to content

Commit

Permalink
fix: Support Node 21 and drop 16
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Dec 4, 2023
1 parent aa9a916 commit adc0812
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node: [16, 18, 20]
node: [18, 20]
runs-on: ${{ matrix.os }}
continue-on-error: true
steps:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/update_deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ jobs:
with:
node-version: 20
cache: npm
# connect-gzip-static only supports node 16
# @types/ws 8.5.5 is broken
- run: npx npm-check-updates -u -x connect-gzip-static -x @types/ws
- run: npx npm-check-updates -u
- run: npm install
- uses: peter-evans/create-pull-request@v5
with:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"url": "git+https://github.com/Koenkk/zigbee2mqtt.git"
},
"engines": {
"node": "^16 || ^18 || ^19 || ^20"
"node": "^18 || ^20 || ^21"
},
"keywords": [
"xiaomi",
Expand Down

0 comments on commit adc0812

Please sign in to comment.