-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The automated release is failing 🚨 #251
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@keithamus what type of token is |
That token is an automation token. |
Hmm, if I could go back 2 years and tell myself not to recommend this... I guess I'll look into what else could be misconfigured. |
Any chance you'd be willing to run the release script locally with that token to see if that reproduces the error? / has the npm package settings been updated to allow automation tokens to publish? |
This comment has been minimized.
This comment has been minimized.
|
They match the settings in your screenshot. |
Have you published anything else with an automation token with a package having these settings? |
I've rolled the token. The new one is Grasping at straws but I've no idea what is really going wrong here 🤷♂️ |
Yeah I'm very confused as well, I'll update the yml and try it again. If not will raise some issues and see if semantic-release knows what's up. |
🚨 The automated release from the
master
branch failed. 🚨I recommend you give this issue a high priority, so other packages depending on you could benefit from your bug fixes and new features.
You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can resolve this 💪.
Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.
Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the
master
branch. You can also manually restart the failed CI job that runs semantic-release.If you are not sure how to resolve this, here is some links that can help you:
If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.
Invalid npm token.
The npm token configured in the
NPM_TOKEN
environment variable must be a valid token allowing to publish to the registryhttps://registry.npmjs.org/
.If you are using Two-Factor Authentication, make configure the
auth-only
level is supported. semantic-release cannot publish with the defaultauth-and-writes
level.Please make sure to set the
NPM_TOKEN
environment variable in your CI with the exact value of the npm token.Good luck with your project ✨
Your semantic-release bot 📦🚀
The text was updated successfully, but these errors were encountered: