Conversation
|
View your CI Pipeline Execution ↗ for commit 913d422 ☁️ Nx Cloud last updated this comment at |
|
📬 Published Beta Packages (install with
|
|
|
||
| **Alpha (default):** On each push to the PR branch, CI publishes alpha releases (per-commit prerelease versions on npm). This does **not** run while the PR has the **`beta`** label. | ||
|
|
||
| **Beta:** Add the **`beta`** label to the PR (create the label in the repo if it does not exist). That triggers a one-time publish to npm under the **`beta`** dist-tag (install with e.g. `yarn add @codecademy/gamut@beta`). Pushing new commits does **not** republish beta automatically; remove the **`beta`** label and add it again after your changes to trigger another publish. |
There was a problem hiding this comment.
we can change this - i'd like to add some gating or something around beta publishes so that the @beta tags stays useful
Co-authored-by: Jake Hiller <jakemhiller@gmail.com>
|
|
🚀 Styleguide deploy preview ready! Preview URL: https://69e104f0f28cc61349e32075--gamut-preview.netlify.app |
sh0ji
left a comment
There was a problem hiding this comment.
I think I see now where we were misunderstanding each other. I've been under the impression that you could just run something like this to get the React 19 stuff out under a prerelease channel (beta is fine).
yarn nx release prerelease --preid beta
yarn nx release publish --tag betaThat would publish it as 68.2.3-beta.0 I think, allowing @BandanaKM to install it with yarn add @codecademy/gamut@beta.
I'm all for updating our workflows and CI too, but it never crossed my mind as a dependency of unblocking Bana. Is there some reason we can't do that today without any real code changes?
Overview
Add a GHA workflow to publish beta packages when the
betalabel is added. This should also skip the alpha publish on commit. I also renamed a couple of tasks from "alpha" to "pre-release".I have a couple of open questions about using the beta dist-tag like if we want to block multiple PRs from using the label or how we should "gate" it but this is the MVP of "publish under beta dist-tag"
PR Checklist
Testing Instructions
Branch off of this branch and try adding the beta tag to your test PR
you can also try `yarn add @codecademy/gamut@beta in another repo if you want to test that the dist-tags works
PR Links and Envs
n/a