capabilities.work

Trust a CI/CD provider to publish a package

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

Get something done

Trust a CI/CD provider to publish a package

with npm

Use npm: its npm Public Trusted Publishers API lets you trust a CI/CD provider to publish a package in a single step (POST /-/npm/v1/security/trusted-publishers/packages/{package}). capabilities.work can help you get signed up and connected.

  • How do I let GitHub Actions publish a package without a long-lived token?
  • Can I restrict a trusted publisher to one workflow file?
Say it to your AI assistant
  • Trust {provider} on {repository_owner}/{repository} to publish {package}.
  • Allow {provider} on {repository_owner}/{repository} to publish {package} only in environment {environment}.
For your developer

POST /-/npm/v1/security/trusted-publishers/packages/{package} in npm Public Trusted Publishers API. Full spec on APIs.io.