-
Notifications
You must be signed in to change notification settings - Fork 9
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
fix: moved to yarn classic #39
fix: moved to yarn classic #39
Conversation
env: | ||
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this correct to change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no experience with this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see any issue with this, I was never against either version but I do think we should start using the packageManager
field religiously. It's purpose is to prevent "works on my machine" issues and it's been a problem in CI a few times
I am too unskilled to understand how it works
I feel the same, clearly V4 has perks but it's a bit of a nightmare to use vs V1
@Keyrxng Sure agreed, we can start putting the classic package version there moving forward. But yeah v4 has been painful to use so far it seems. |
Maybe I am too unskilled to understand how it works but I could not get yarn 4 to publish a package with credentials through a CLI. I kept having a
YN0033
error for authentication, which is not documented. Yarn berry under the hood is supposed to usenpm publish
, so it should have been working.In the end I just reverted to Yarn classic which is supposed to work. If it still doesn't, it means the token itself is invalid.
It is on purpose that this PR target
main
, to trigger the publish and test. If it works I'll merge back todevelop
.