From d5199926846ddb7f385260a87c5c8a37f48b3cc7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 7 Apr 2026 04:47:25 +0000 Subject: [PATCH] Update from template: X0000-updateNodeJsAtTestAndRelease --- .github/workflows/test-and-release.yml | 7 ++++--- README.md | 3 +++ package.json | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index 8a573fb..e3eac63 100644 --- a/.github/workflows/test-and-release.yml +++ b/.github/workflows/test-and-release.yml @@ -28,7 +28,7 @@ jobs: steps: - uses: ioBroker/testing-action-check@v1 with: - node-version: '18.x' + node-version: '24.x' # Uncomment the following line if your adapter cannot be installed using 'npm ci' # install-command: 'npm install' type-checking: true @@ -36,12 +36,13 @@ jobs: # Runs adapter tests on all supported node versions and OSes adapter-tests: + needs: [check-and-lint] if: contains(github.event.head_commit.message, '[skip ci]') == false runs-on: ${{ matrix.os }} strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [20.x, 22.x, 24.x] os: [ubuntu-latest, windows-latest, macos-latest] steps: @@ -76,7 +77,7 @@ jobs: steps: - uses: ioBroker/testing-action-deploy@v1 with: - node-version: '18.x' + node-version: '24.x' # Uncomment the following line if your adapter cannot be installed using 'npm ci' # install-command: 'npm install' build: true diff --git a/README.md b/README.md index 68de322..3aec364 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,9 @@ Huawei products page: [solar.huawei.com](https://solar.huawei.com/at/professiona see the [documentation page](./docs/README.md) ## Changelog + +### **WORK IN PROGRESS** +- (iobroker-bot) Adapter requires node.js >= 20 now. ### 0.1.3 (2024-03-21) * Small bug fix... diff --git a/package.json b/package.json index 3c3f045..d4b9832 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "url": "https://github.com/daolis/ioBroker.sun2000-modbus.git" }, "engines": { - "node": ">= 16" + "node": ">= 20" }, "dependencies": { "@iobroker/adapter-core": "^3.0.3",