-
Notifications
You must be signed in to change notification settings - Fork 305
add pkg.pr.new CI workflow for preview releases #455
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 adds a GitHub Actions workflow that automatically publishes preview packages using pkg.pr.new on every push and pull request. This enables users and contributors to test changes from any commit or PR without waiting for an official release by installing packages via URLs like npm i https://pkg.pr.new/@opentui/core@<commit>.
Key Changes:
- Automated preview package publishing for all four packages (core, react, solid, vue) on every push and PR
- Build pipeline that compiles all packages with appropriate flags before publishing
- Uses pkg.pr.new service to host temporary package previews
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
I think it's safe to remove vue from the workflow as it's no longer maintained (or released) and will be removed from this repo (#236 (comment)) |
|
I removed vue. Someone with enough permissions need to install the GitHub app now. |
|
This PR would make it much easier for opencode forks to try out new PRs features and find if there are any issues before merging. Can someone take a look? |
commit: |
Closes #449
Adds a GitHub Actions workflow that publishes preview packages on every push and PR using pkg.pr.new.
This enables users to test changes from any commit/PR without waiting for a release:
Publishes all 4 packages: core, react, solid, vue.
Example: See remorses/opentui#5 for a working example of how pkg.pr.new comments look on PRs.
Note: Requires the pkg.pr.new GitHub App to be installed on this repo (this is why the "Publish Preview" check is currently failing).