diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a0fd73fe..11b8cc70b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index e9e39527e..70058bf77 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -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 diff --git a/.github/workflows/update-dependency.yml b/.github/workflows/update-dependency.yml index 579e1ced9..8840670fa 100644 --- a/.github/workflows/update-dependency.yml +++ b/.github/workflows/update-dependency.yml @@ -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 diff --git a/package.json b/package.json index f1b32a092..f1d4fe719 100644 --- a/package.json +++ b/package.json @@ -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" } -} +} \ No newline at end of file