Skip to content

ci: build package before publishing#600

Merged
yangxiaolang merged 2 commits into
masterfrom
fix/release-build-before-publish
May 8, 2026
Merged

ci: build package before publishing#600
yangxiaolang merged 2 commits into
masterfrom
fix/release-build-before-publish

Conversation

@yangxiaolang
Copy link
Copy Markdown
Collaborator

@yangxiaolang yangxiaolang commented May 8, 2026

Summary by CodeRabbit

  • Chores
    • Updated the release process to include a build step before publishing to ensure releases contain up-to-date build artifacts.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 8, 2026

⚠️ No Changeset found

Latest commit: 7c01a49

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 8, 2026

Review Change Stack

Warning

Rate limit exceeded

@yangxiaolang has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 46 minutes and 15 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: cb7a9926-8b1c-4e36-9242-08ff54059957

📥 Commits

Reviewing files that changed from the base of the PR and between 109777d and 7c01a49.

📒 Files selected for processing (1)
  • package.json

Walkthrough

The release script in package.json is updated to build the project via yarn build before publishing changes using changeset publish, ensuring the release artifact is compiled before publication.

Changes

Release Script Build Step

Layer / File(s) Summary
Release Script Configuration
package.json
release script changed to yarn build && changeset publish (previously only changeset publish).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A tiny change, yet oh so bright,
Build before you publish—that's just right!
One line tweak makes the workflow shine,
Ensuring artifacts are compiled in time. ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'ci: build package before publishing' directly and clearly describes the main change: the release script now builds the package before publishing it.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/release-build-before-publish

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@yangxiaolang yangxiaolang merged commit 80f8418 into master May 8, 2026
7 checks passed
@yangxiaolang yangxiaolang deleted the fix/release-build-before-publish branch May 8, 2026 06:04
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