-
Hi! Here's the issue I run only "publish" without the "semver" for now just to stop it from increasing versions unnecessarily. It keeps ignoring my environment variable for NODE_AUTH_TOKEN although I have an almost identical setup to the "jscutlery/semver" library (I based it on their github action files, but I'm just using npm instead of yarn) If you have any clues as to what is happening here and where is a potential lead to follow in my investigation, you'll have my eternal gratitude 😊 Thanks in advance! 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 7 replies
-
I really think it's because you are using yarn instead of_npm_ I faced the same error before. Somewhere here on ngx-deploy-npm 's actions there is the warning. I can provide links in the future to support my statement but I'm 95% secure you solve the problem using npm |
Beta Was this translation helpful? Give feedback.
-
I would double-check that you have your variable It could seem obvious, but you will be surprised by the number of times a simple space or a misplaced character ruined everything. |
Beta Was this translation helpful? Give feedback.
-
Something weird is going on. I see you have The only difference between whoami step and the publishment step is that you have an extra token, ngx-deploy-npm uses ngx-deploy-npm to publish to npm (I know, it sounds like builder inception), so I believe Should we try using only |
Beta Was this translation helpful? Give feedback.
-
@shairez, Can you share how did you create the NPM token? |
Beta Was this translation helpful? Give feedback.
-
OK I SOLVED IT! 🎉🎉 It turns out I had misconfigured the registry url This is what I had:
but it should have ended with
Now it works 💪 Thanks for the support @dianjuar 🙏❤ |
Beta Was this translation helpful? Give feedback.
OK I SOLVED IT! 🎉🎉
It turns out I had misconfigured the registry url
This is what I had:
but it should have ended with
.org
🤦♂️Now it works 💪
Thanks for the support @dianjuar 🙏❤