diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index 56e2764f..b8b0c0c5 100644 --- a/.github/workflows/test-and-release.yml +++ b/.github/workflows/test-and-release.yml @@ -29,19 +29,20 @@ jobs: steps: - uses: ioBroker/testing-action-check@v1 with: - node-version: '22.x' + node-version: '24.x' # Uncomment the following line if your adapter cannot be installed using 'npm ci' # install-command: 'npm install' lint: true # 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: [18.x, 20.x, 22.x] + node-version: [20.x, 22.x, 24.x] os: [ubuntu-latest, windows-latest, macos-latest] steps: @@ -71,7 +72,7 @@ jobs: steps: - uses: ioBroker/testing-action-deploy@v1 with: - node-version: '22.x' + node-version: '24.x' # Uncomment the following line if your adapter cannot be installed using 'npm ci' # install-command: 'npm install' npm-token: ${{ secrets.NPM_TOKEN }} diff --git a/README.md b/README.md index f19eea79..6b8007b6 100644 --- a/README.md +++ b/README.md @@ -141,6 +141,7 @@ response => { ### **WORK IN PROGRESS** --> ### **WORK IN PROGRESS** +- (iobroker-bot) Adapter requires node.js >= 20 now. * Update dependencies ### 1.0.14 (2023-07-19) diff --git a/package.json b/package.json index 428953c2..1482e9d7 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "url": "https://github.com/patrickbs96/ioBroker.twinkly" }, "engines": { - "node": ">=16" + "node": ">=20" }, "dependencies": { "@iobroker/adapter-core": "^3.3.2",