-
Notifications
You must be signed in to change notification settings - Fork 13
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
Move to monorepo #264
Move to monorepo #264
Conversation
64ed3f0
to
5c0e0ca
Compare
@@ -0,0 +1 @@ | |||
//registry.npmjs.org/:_authToken=${NPM_AUTH_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.
We can't run npm set registry
on a package level.
Adding this file will enable us to publish to the public npm registry without calling npm set registry
in the action
.github/workflows/release.yml
Outdated
@@ -6,7 +6,7 @@ on: | |||
yarnVersionArgs: | |||
description: 'Arguments for "yarn version"' | |||
required: true | |||
default: '--patch' |
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.
In yarn berry the command changed to:
yarn version patch
echo PR package tag is [pr$PR_ID.$BUILD_NUMBER] | ||
npm config set //registry.npmjs.org/:_authToken=$NPM_AUTH_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.
Added .npmrc
file in the root instead
.github/workflows/release.yml
Outdated
- name: Bump version | ||
run: | | ||
git reset --hard | ||
yarn version --no-git-tag-version ${{ github.event.inputs.yarnVersionArgs }} |
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.
we can't use --no-git-tag-version
in yarn berry
Fix matrix fix node version Run only repluggable Downgrade yarn bla bla2 bla3 pr.yml pr.ym2l run registry npmrc release
No description provided.