yarn npm stage approve — Yarn CLI reference

Approve staged package versions for publishing.

Docs/Reference/CLI/npm/stage/approve

yarn npm stage approve

Approve staged package versions for publishing.

yarn npm stage approve <STAGE_ID> <ADDITIONAL_STAGE_IDS…>

This command approves one or more staged package versions on the active workspace’s publish registry. Pass multiple stage IDs to approve them in order. All IDs are validated before any requests are sent. If an approval fails, the command stops; earlier successful approvals remain published. If the registry requires two-factor authentication, use --otp or enter the code when prompted.

#--otpboolean

One-time password to use when the registry requires two-factor authentication