fix: Drop Node 18 support, add 24 (#27348)

This commit is contained in:
Koen Kanters
2025-05-07 21:26:13 +02:00
committed by GitHub
parent d8855b8e6f
commit aad87cc3ec
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 24
registry-url: https://registry.npmjs.org/
cache: pnpm
@@ -175,7 +175,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node: [18, 20, 22]
node: [20, 22, 24]
runs-on: ${{ matrix.os }}
continue-on-error: true
steps:
+1 -1
View File
@@ -22,7 +22,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 24
- uses: googleapis/release-please-action@v4
id: release
+1 -1
View File
@@ -20,7 +20,7 @@ jobs:
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 24
cache: pnpm
- run: |
pnpm install ${{ github.event.client_payload.package }}@${{ github.event.client_payload.version }} --save-exact
+2 -2
View File
@@ -10,7 +10,7 @@
"url": "git+https://github.com/Koenkk/zigbee2mqtt.git"
},
"engines": {
"node": "^18 || ^20 || ^22 || ^23"
"node": "^20 || ^22 || ^24"
},
"keywords": [
"xiaomi",
@@ -97,4 +97,4 @@
"optionalDependencies": {
"unix-dgram": "^2.0.6"
}
}
}