-
-
Couldn't load subscription status.
- Fork 122
ci: add continuous preview release #1169
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
base: v1000
Are you sure you want to change the base?
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.
Thank you for the contribution 🚀 ! I've left some comments. I noticed there is an overall issue with our pipeline. I will create a fix in a few days, and you can rebase after that. I'll ping you once it's ready.
Co-authored-by: Raman Aktsisiuk <[email protected]>
5f9da0e to
2bedd80
Compare
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.
@romadryud can you make a review one more time pls?
Closes #1065
Overview
This PR introduces a new GitHub Actions workflow:
continuous-release.yml.The workflow runs on:
It automatically builds and publishes packages to
pkg.pr.new's registry.For pull requests,
pkg.pr.newcomments with installation URLs for packages, and updates the comments with every new commit.Example

pkg.pr.newPR comment:In the absence of pull requests, you can access package URLs by manually constructing them using this format:
Or browse published packages at: https://pkg.pr.new/~/reatom/reatom
Motivation
Reatom packages are typically released in batches. This workflow introduces a "continuous release" strategy by leveraging pkg.pr.new, which allows:
How It Works
Setup
In order to use pkg.pr.new, you must install the
pkg.pr.newGitHub application on the repository: https://github.com/apps/pkg-pr-newFeatures
ubuntu-latest22.13.110.12.1pnpm installpnpm dlx pkg-pr-newMore Notes
Question: Should the push trigger be removed from the workflow? Since all changes are merged through pull requests, and those PRs already trigger the workflow, it may be redundant to run it again on pushing to main.
Notes & Considerations
lint.yml,test.yml, andpackage.jsonOptional Enhancements
(Note: skipped for now, as tests may be outdated, and we want to allow previews even if they fail)
(requires setting up credentials/secrets)
Expand to view code snippet for changed package detection