capabilities.work

Trust a CI service to publish a package

One step with npm. We can help you get access.

Get something done

Trust a CI service to publish a package

with npm

Use npm: its npm Registry Trust API lets you trust a CI service to publish a package in a single step (POST /-/package/{package}/trust). capabilities.work can help you get signed up and connected.

  • How do I let GitHub Actions publish to my npm package without long-lived tokens?
  • Can I set up OIDC trust between my package and a CI/CD provider?
  • Do I need a one-time password to add a trusted publisher to a package?
Say it to your AI assistant
  • Add a trusted publisher configuration to {package} using my one-time password {otp}.
  • Set up OIDC trusted publishing for {package} so CI can publish without tokens.
  • Configure a new trusted CI publisher on {package} with authorization {auth} and OTP {otp}.
For your developer

POST /-/package/{package}/trust in npm Registry Trust API. Full spec on APIs.io.