From 93d98f82647e5ee7fd3b2edb802857885f11241c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 18 May 2026 10:07:25 +0000 Subject: [PATCH 1/4] chore: update @athombv/jsdoc-template to ^1.7.0 --- .npmrc | 2 -- package-lock.json | 16 ++++++++-------- package.json | 2 +- 3 files changed, 9 insertions(+), 11 deletions(-) delete mode 100644 .npmrc diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 6c83350..0000000 --- a/.npmrc +++ /dev/null @@ -1,2 +0,0 @@ -@athombv:registry=https://npm.pkg.github.com -//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN} diff --git a/package-lock.json b/package-lock.json index 36e6df2..6940458 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "tinygradient": "^1.1.1" }, "devDependencies": { - "@athombv/jsdoc-template": "^1.6.3", + "@athombv/jsdoc-template": "^1.7.0", "concurrently": "^5.1.0", "eslint": "^6.8.0", "eslint-config-athom": "^2.0.8", @@ -43,11 +43,11 @@ } }, "node_modules/@athombv/jsdoc-template": { - "version": "1.6.3", - "resolved": "https://npm.pkg.github.com/download/@athombv/jsdoc-template/1.6.3/2b1b8fd046854a8834dbb6200d11a0d7ddab2a9e", - "integrity": "sha512-FeEuSTVORNoWmsrdrL6KzL/8AQcbOqrY10lrvTiSwC1+TqVu8iQmBdcxoQprIHczQMuEpAw5W8wJ4groOiXtjg==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@athombv/jsdoc-template/-/jsdoc-template-1.7.0.tgz", + "integrity": "sha512-eO4Kna1DCmRLMm4SwHYrEehQWkWDt72j88aMIjW+HOWuWV6Nu296VTLjZ5EeoeSrD0Q/QYUakr9TCJKJ8hwIBA==", "dev": true, - "license": "ISC", + "license": "GPL-3.0", "dependencies": { "css-loader": "^5.2.4", "highlight.js": "^10.7.2", @@ -7888,9 +7888,9 @@ "dev": true }, "@athombv/jsdoc-template": { - "version": "1.6.3", - "resolved": "https://npm.pkg.github.com/download/@athombv/jsdoc-template/1.6.3/2b1b8fd046854a8834dbb6200d11a0d7ddab2a9e", - "integrity": "sha512-FeEuSTVORNoWmsrdrL6KzL/8AQcbOqrY10lrvTiSwC1+TqVu8iQmBdcxoQprIHczQMuEpAw5W8wJ4groOiXtjg==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@athombv/jsdoc-template/-/jsdoc-template-1.7.0.tgz", + "integrity": "sha512-eO4Kna1DCmRLMm4SwHYrEehQWkWDt72j88aMIjW+HOWuWV6Nu296VTLjZ5EeoeSrD0Q/QYUakr9TCJKJ8hwIBA==", "dev": true, "requires": { "css-loader": "^5.2.4", diff --git a/package.json b/package.json index 74682c9..11a7450 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "zigbee-clusters": "^2.1.2 || ^3.0.2" }, "devDependencies": { - "@athombv/jsdoc-template": "^1.6.3", + "@athombv/jsdoc-template": "^1.7.0", "concurrently": "^5.1.0", "eslint": "^6.8.0", "eslint-config-athom": "^2.0.8", From d3d5b6bb1f28904b5a326d0a0bc15ad3cbb36b6a Mon Sep 17 00:00:00 2001 From: Robin Bolscher Date: Mon, 18 May 2026 13:02:35 +0200 Subject: [PATCH 2/4] ci: drop GitHub Packages registry config and align Node versions @athombv/jsdoc-template now lives on npmjs.org so the legacy registry-url + NODE_AUTH_TOKEN bot-token references are unused. They were also causing npm ci to fail on lint/docs/test because the old npm 6 (Node 12) respected the @athombv scope mapping over the lockfile's resolved npmjs.org URLs. Also bumps the CI workflows to Node 24 (matching deploy.yml) and setup-node@v4 since v1/v3 do not support modern Node releases. --- .github/workflows/deploy.yml | 2 -- .github/workflows/docs.yml | 7 ++----- .github/workflows/lint.yml | 7 ++----- .github/workflows/test.yml | 7 ++----- 4 files changed, 6 insertions(+), 17 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f0dfc93..3a9b258 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -69,8 +69,6 @@ jobs: run: | npm ci npm run build - env: - NODE_AUTH_TOKEN: ${{ secrets.HOMEY_GITHUB_ACTIONS_BOT_PERSONAL_ACCESS_TOKEN }} - name: Version bump patch if: github.event.inputs.versionBumpType == 'patch' || contains(github.event.head_commit.message, '#patch') && !contains(github.event.head_commit.message, '#minor') && !contains(github.event.head_commit.message, '#major') diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 622ce56..dfd0291 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -30,18 +30,15 @@ jobs: - uses: actions/checkout@v2 - name: Setup Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: '12' - registry-url: https://npm.pkg.github.com + node-version: '24' # Build - name: Build run: | npm ci npm run build - env: - NODE_AUTH_TOKEN: ${{ secrets.HOMEY_GITHUB_ACTIONS_BOT_PERSONAL_ACCESS_TOKEN }} # Deploy - name: Deploy To GitHub Pages diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fbaea0e..772a913 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -25,15 +25,12 @@ jobs: - uses: actions/checkout@v2 # Configures a Node.js environment. - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v4 with: - node-version: '12' - registry-url: https://npm.pkg.github.com + node-version: '24' # Run `npm ci` to re-create your local environment (make sure to commit your package-lock.json!). # Finally run `npm run lint` (make sure you have defined a lint command in package.json e.g. "lint": "eslint ."). - run: npm ci - env: - NODE_AUTH_TOKEN: ${{ secrets.HOMEY_GITHUB_ACTIONS_BOT_PERSONAL_ACCESS_TOKEN }} - run: npm run lint diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8120a9b..935c7d0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,15 +25,12 @@ jobs: - uses: actions/checkout@v2 # Configures a Node.js environment. - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v4 with: - node-version: 16 # Important: use the matrix.node property when using a matrix strategy - registry-url: https://npm.pkg.github.com + node-version: '24' # Run `npm ci` to re-create your local environment (make sure to commit your package-lock.json!). # Finally run `npm test` (make sure you have defined a proper test command in package.json). - run: npm ci - env: - NODE_AUTH_TOKEN: ${{ secrets.HOMEY_GITHUB_ACTIONS_BOT_PERSONAL_ACCESS_TOKEN }} - run: npm test From ad82c6d0838e7fc21b3f3f25db6d69c2b21a3581 Mon Sep 17 00:00:00 2001 From: Robin Bolscher Date: Mon, 18 May 2026 13:08:28 +0200 Subject: [PATCH 3/4] Revert "ci: drop GitHub Packages registry config and align Node versions" This reverts commit d3d5b6bb1f28904b5a326d0a0bc15ad3cbb36b6a. --- .github/workflows/deploy.yml | 2 ++ .github/workflows/docs.yml | 7 +++++-- .github/workflows/lint.yml | 7 +++++-- .github/workflows/test.yml | 7 +++++-- 4 files changed, 17 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3a9b258..f0dfc93 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -69,6 +69,8 @@ jobs: run: | npm ci npm run build + env: + NODE_AUTH_TOKEN: ${{ secrets.HOMEY_GITHUB_ACTIONS_BOT_PERSONAL_ACCESS_TOKEN }} - name: Version bump patch if: github.event.inputs.versionBumpType == 'patch' || contains(github.event.head_commit.message, '#patch') && !contains(github.event.head_commit.message, '#minor') && !contains(github.event.head_commit.message, '#major') diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index dfd0291..622ce56 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -30,15 +30,18 @@ jobs: - uses: actions/checkout@v2 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v1 with: - node-version: '24' + node-version: '12' + registry-url: https://npm.pkg.github.com # Build - name: Build run: | npm ci npm run build + env: + NODE_AUTH_TOKEN: ${{ secrets.HOMEY_GITHUB_ACTIONS_BOT_PERSONAL_ACCESS_TOKEN }} # Deploy - name: Deploy To GitHub Pages diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 772a913..fbaea0e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -25,12 +25,15 @@ jobs: - uses: actions/checkout@v2 # Configures a Node.js environment. - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v1 with: - node-version: '24' + node-version: '12' + registry-url: https://npm.pkg.github.com # Run `npm ci` to re-create your local environment (make sure to commit your package-lock.json!). # Finally run `npm run lint` (make sure you have defined a lint command in package.json e.g. "lint": "eslint ."). - run: npm ci + env: + NODE_AUTH_TOKEN: ${{ secrets.HOMEY_GITHUB_ACTIONS_BOT_PERSONAL_ACCESS_TOKEN }} - run: npm run lint diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 935c7d0..8120a9b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,12 +25,15 @@ jobs: - uses: actions/checkout@v2 # Configures a Node.js environment. - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v1 with: - node-version: '24' + node-version: 16 # Important: use the matrix.node property when using a matrix strategy + registry-url: https://npm.pkg.github.com # Run `npm ci` to re-create your local environment (make sure to commit your package-lock.json!). # Finally run `npm test` (make sure you have defined a proper test command in package.json). - run: npm ci + env: + NODE_AUTH_TOKEN: ${{ secrets.HOMEY_GITHUB_ACTIONS_BOT_PERSONAL_ACCESS_TOKEN }} - run: npm test From d77444d82516bb756a036f021d7fd941a12719d9 Mon Sep 17 00:00:00 2001 From: Robin Bolscher Date: Mon, 18 May 2026 13:08:48 +0200 Subject: [PATCH 4/4] ci: bump Node and setup-node action to 24/v4 Aligns lint, test, and docs with deploy.yml (Node 24) so all workflows run on a modern npm. The previous Node 12 in lint/docs was failing npm ci on the @athombv/jsdoc-template@1.7.0 install because npm 6 respects scope mapping over lockfile resolved URLs. Keeps the GitHub Packages registry-url and NODE_AUTH_TOKEN bot-token because zigbee-clusters has @athombv/data-types as a transitive private dep that still resolves via npm.pkg.github.com. --- .github/workflows/docs.yml | 4 ++-- .github/workflows/lint.yml | 4 ++-- .github/workflows/test.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 622ce56..65b890b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -30,9 +30,9 @@ jobs: - uses: actions/checkout@v2 - name: Setup Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: '12' + node-version: '24' registry-url: https://npm.pkg.github.com # Build diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fbaea0e..c5a2532 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -25,9 +25,9 @@ jobs: - uses: actions/checkout@v2 # Configures a Node.js environment. - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v4 with: - node-version: '12' + node-version: '24' registry-url: https://npm.pkg.github.com # Run `npm ci` to re-create your local environment (make sure to commit your package-lock.json!). diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8120a9b..5f89c24 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,9 +25,9 @@ jobs: - uses: actions/checkout@v2 # Configures a Node.js environment. - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v4 with: - node-version: 16 # Important: use the matrix.node property when using a matrix strategy + node-version: '24' registry-url: https://npm.pkg.github.com # Run `npm ci` to re-create your local environment (make sure to commit your package-lock.json!).