Repository navigation
fix: replace testing-action-deploy with inline OIDC publish steps - #100
Merged
Merged
Conversation
The ioBroker testing-action-deploy@v1 runs 'npm install -g npm@latest' which upgrades to npm 12.0.0 — a version with a known bug (npm/cli#9722) where the sigstore module is missing, causing provenance-enabled publishes to fail. Replace the composite action with inline deploy steps that use the npm CLI version bundled with Node.js 24.x (npm 11.x), which supports trusted publishing and automatic provenance signing without the sigstore regression. Refs #77
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The deploy job in
test-and-release.ymlfailed withCannot find module 'sigstore'(npm/cli#9722). TheioBroker/testing-action-deploy@v1composite action runsnpm install -g npm@latest, which upgrades to npm 12.0.0 — a version with a known bug where thesigstoremodule is missing, causing provenance-enabled publishes to crash.Fix
Replace
ioBroker/testing-action-deploy@v1with inline deploy steps that use the npm CLI bundled with Node.js 24.x (npm 11.x). This version supports trusted publishing (OIDC) and automatic provenance signing without the sigstore regression.Inline steps:
npm ci+npm run buildnpm publish(OIDC auto-detected, provenance automatic)softprops/action-gh-release@v3Verification
npm run check✅npm run lint✅Context
Refs #77 — npm Trusted Publishing is configured on npmjs.com. The previous deploy attempt (run #107) failed due to the npm 12 sigstore bug. This PR fixes the deploy pipeline.
Risk
risk:low— workflow-only change, no adapter code modified