Closed jfix closed 1 year ago
I have one-time passwords enabled in order to publish npm packages as recommended by NPM.
When trying to use the npm-publish-action I receive this error message:
npm-publish-action
error Couldn't publish package: "Can't answer a question unless a user TTY"
When running npm publish manually on the command line, I get challenged for the OTP:
npm publish
Is there anything that can be done to integrate OTPs in this action?
You have to generate a new NPM access token and select the Automation type, which will not require OTP:
thanks @jonmbake that worked great!
I have one-time passwords enabled in order to publish npm packages as recommended by NPM.
When trying to use the
npm-publish-action
I receive this error message:When running
npm publish
manually on the command line, I get challenged for the OTP:Is there anything that can be done to integrate OTPs in this action?