Skip to content

trustci

Bulk-register npm Trusted Publishers across every public package in a monorepo with a single command. Supports GitHub Actions, GitLab CI/CD and CircleCI.

One command for the whole monorepo

Setting up trusted publishing one package at a time is tedious. trustci detects your workspace, finds every public package, and runs the right npm trust <provider> … for each.

Three CI providers

GitHub Actions, GitLab CI/CD and CircleCI. For CircleCI, missing IDs are resolved through the CircleCI API and --vcs-origin is inferred from package.json or git.

Preview first

--dry-run prints the npm trust commands without running anything. Real runs skip unpublished packages and ask before registering.

Zero runtime dependencies

Run it with npx trustci. It wraps the npm trust command shipped with npm.