scripts/release/steps/publish-to-npm.js/retryNpmPublish
async function retryNpmPublish() {
  const runNpmPublish = async () => {
    const { otp } = await enquirer.prompt({
      type: "input",
      name: "otp",
      message: "Please enter your npm OTP",
    });
    await execa("npm", ["publish", "--otp", otp], { cwd: "./dist" });
  };
  for (let i = 5; i > 0; i--) {
    try {
      return await runNpmPublish();
    } catch (error) {
      if (error.code === "EOTP" && i > 0) {
        console.log(`To enter OTP is failed, you can retry it ${i} times.`);
        continue;
      }
      throw error;
    }
  }
}