Read the corresponding chapter based on the task; do not load irrelevant content all at once:
- Policies, versions, tokens, and execution boundaries: Read before starting any publishing work.
- npm configuration items and CI field mapping: Read when filling in npmjs.com,
package.json、.npmrc、npm trustor CI configuration. - Recommended minimal example: Read when setting up a minimal GitHub Actions OIDC publishing workflow for a single package.
- Organization public packages and private packages: Read when handling npm organization, scope, visibility, Teams, or private dependencies.
- Monorepo multi-package publishing: Read when handling workspaces, batch Trusted Publisher, or independent version publishing.
- Pre-publish validation and troubleshooting: Read after completing configuration or when publishing fails.