Skip to content

[DOCS] improve trusted publishing docs for easier github ci migration #8884

@gitcommitshow

Description

@gitcommitshow

Is there an existing issue for this?

  • I have searched the existing issues

This is a CLI Docs Enhancement, not another kind of Docs Enhancement.

  • This is a CLI Docs Enhancement.

Description of Problem

I wasted a lot of time on migrating my github action (for npm publish) to trusted publishing due to gaps in trusted publishing docs and the bug #8730

This was the exact issue and the solution - gitcommitshow/resilient-llm#39

Potential Solution

Following improvements can save time and frustration for others

  • Add the node v24 as mandatory requirement in the github action. Could not discover this until I saw comments on [BUG] OIDC publish failing from GitHub actions #8730
  • Highlight where to find the trusted publishing, include visual guide. I had hard time finding this.
  • A clear destination to report issues. I could not find this info on the docs. I tried "contact npm" on the footer and waited for a day to get an answer. Then only I searched github for similar issue and could discover this page.

Docs URL

https://docs.npmjs.com/trusted-publishers#github-actions-configuration

Metadata

Metadata

Assignees

No one assigned

    Labels

    Documentationdocumentation related issueNeeds Triageneeds review for next steps

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions