-
Notifications
You must be signed in to change notification settings - Fork 2
ci: enable workflows for automatic management #1
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
Conversation
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.
Pull Request Overview
This PR enables automated workflow management in the repository by transitioning CI, release, publishing, and deployment to GitHub Actions while deprecating legacy build configurations. Key changes include updating package.json scripts with changesets and clean-pkg-json integration, adding new GitHub workflow files (release, pkg-pr-new, gh-pages, CI, autofix), and removing the old .build/ci.yaml.
Reviewed Changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Modified prepare and version scripts, and added new devDependencies for changesets and clean-pkg-json |
| .github/workflows/release.yml | Added a release workflow that uses changesets for versioning and publishing |
| .github/workflows/pkg-pr-new.yml | Added a publish workflow for commits and pull requests |
| .github/workflows/gh-pages.yml | Added GitHub Pages deployment workflow |
| .github/workflows/ci.yml | Added CI workflow for building and linting |
| .github/workflows/autofix.yml | Added an autofix workflow for code formatting |
| .github/FUNDING.yml | Added funding configuration |
| .codesandbox/ci.json | Added CodeSandbox CI configuration |
| .changeset/config.json | Added changesets configuration |
| .changeset/README.md | Added documentation for changesets |
| .build/ci.yaml | Removed legacy build configuration |
Comments suppressed due to low confidence (2)
.build/ci.yaml:1
- Ensure that the removal of the legacy .build/ci.yaml file is fully aligned with the migration to GitHub Actions and that no dependent build processes are relying on this configuration.
Entire file removed
package.json:37
- The use of '|| exit 0' in the prepare script may suppress errors from preceding commands; please confirm that silently ignoring failures here is the intended behavior.
"prepare": "simple-git-hooks && patch-package && yarn-berry-deduplicate || exit 0",
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
commit: |
|
@coderabbitai full review |
✅ Actions performedFull review triggered. |
|
Caution Review failedThe pull request is closed. WalkthroughThis update removes a Kubernetes-based CI pipeline and introduces a comprehensive GitHub Actions-based workflow for CI, release, publishing, and documentation deployment. It adds configuration and documentation for Changesets, updates package metadata, and adjusts scripts to support the new release process. Several new configuration files are introduced for CI, funding, and sandbox environments. Changes
Sequence Diagram(s)sequenceDiagram
participant Developer
participant GitHub
participant GitHub Actions
participant Node.js/Yarn
participant Changesets
Developer->>GitHub: Push or Pull Request
GitHub->>GitHub Actions: Trigger workflow (CI, Release, Docs, etc.)
GitHub Actions->>Node.js/Yarn: Setup environment, install dependencies
GitHub Actions->>Node.js/Yarn: Run build, lint, format, test
alt Release Workflow
GitHub Actions->>Changesets: Run versioning/publishing
Changesets->>GitHub: Create release PR or publish to npm
end
alt Docs Deployment
GitHub Actions->>Node.js/Yarn: Build docs
GitHub Actions->>GitHub Pages: Deploy built docs
end
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (12)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
🦋 Changeset detectedLatest commit: 01e779f The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
Summary by CodeRabbit
New Features
Chores
Documentation