Skip to content

Conversation

@remorses
Copy link
Contributor

@remorses remorses commented Dec 29, 2025

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:

npm i https://pkg.pr.new/@opentui/core@<commit>

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).

@remorses remorses marked this pull request as ready for review December 29, 2025 11:34
@remorses remorses requested a review from kommander as a code owner December 29, 2025 11:34
Copilot AI review requested due to automatic review settings December 29, 2025 11:34
@remorses remorses requested review from Hona and msmps as code owners December 29, 2025 11:34
Copy link

Copilot AI left a 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.

@msmps
Copy link
Collaborator

msmps commented Dec 29, 2025

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))

@remorses
Copy link
Contributor Author

I removed vue. Someone with enough permissions need to install the GitHub app now.

@remorses
Copy link
Contributor Author

remorses commented Jan 3, 2026

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?

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 14, 2026

npm i https://pkg.pr.new/anomalyco/opentui/@opentui/core@455
npm i https://pkg.pr.new/anomalyco/opentui/@opentui/react@455
npm i https://pkg.pr.new/anomalyco/opentui/@opentui/solid@455

commit: ef1c350

@kommander kommander merged commit c92f220 into anomalyco:main Jan 14, 2026
6 checks passed
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.

Setting up pkg.pr.new in CI to have an installable npm package url for every PR

3 participants