Skip to content
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

core: Add changesets releases #395

Merged
merged 7 commits into from
Jan 14, 2025
Merged

core: Add changesets releases #395

merged 7 commits into from
Jan 14, 2025

Conversation

HenriqueLimas
Copy link
Member

  • Add storybook deployment to GH pages on push and pr actions
  • Setup changesets to the repo
  • Add github action for release using changesets

Copy link

changeset-bot bot commented Jan 9, 2025

🦋 Changeset detected

Latest commit: 986f3b9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@ebay/ui-core-react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@HenriqueLimas HenriqueLimas added this to the 8.0.0 milestone Jan 14, 2025
@HenriqueLimas HenriqueLimas changed the base branch from main to 8.0.0 January 14, 2025 19:09
Copy link

@agliga agliga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good, just a couple of minor comments.
I think this just needs to be tested properly (and it might take a couple of tweaks)

@@ -0,0 +1,5 @@
---
"@ebay/ui-core-react": patch
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems more like a feature, so Id put it in a minor version

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically I don't need a version for this, it was just to test the action

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will remove this changeset. It is a core change that doesn't need a version update

.github/actions/release/action.yml Outdated Show resolved Hide resolved
"prerelease:end": "changeset pre exit || :",
"prerelease:start": "changeset pre enter next || :",
"prepare": "node scripts/husky-install || node ../scripts/husky-install",
"version": "yarn update-icons && git add -A src && changeset version"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One issue we found was that when doing a release, the package-lock version does not get changed. By doing npm i --package-lock-only this will regenerate the package-lock version. That said, I don't know if theres an equivalent or similar problem for yarn.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does changeset changes the version of the lock file?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I see the issue now, although yarn.lock doesn't have the version of the package, only package-lock has it.

.github/workflows/push.yml Show resolved Hide resolved
@HenriqueLimas HenriqueLimas merged commit 1ed821f into 8.0.0 Jan 14, 2025
7 checks passed
@HenriqueLimas HenriqueLimas deleted the changesets branch January 14, 2025 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants