Skip to content

ci: mirror release to github packages - #326

Merged
bvu-front merged 2 commits into
mainfrom
mirror-to-github-packages
Oct 13, 2026
Merged

bvu-front merged 2 commits into
mainfrom
mirror-to-github-packages

Conversation

@bvu-front

@bvu-front bvu-front commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

bvu-front and others added 2 commits October 9, 2026 16:59
Each release is already published to npm. Also publish it to GitHub
Packages so frontapp/front, whose .npmrc routes the whole @frontapp scope to
npm.pkg.github.com, can install @frontapp/ui-kit as a normal semver
dependency instead of mixing registries. This is the same arrangement
front-ui-sdk uses for @frontapp/plugin-sdk (front-ui-sdk#94).

The publish job gets packages: write via GITHUB_TOKEN; the workflow only
runs on pushes to main, so pull requests never see it.

Before the first release after this lands, 0.23.0 needs a one-time manual
publish to https://npm.pkg.github.com so the registry has the current
version. If the package was first published by a person, grant this
repository write access under the package's "Manage Actions access"
settings, or GITHUB_TOKEN will be refused.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Use yarn for the mirror step like the rest of the job. The token goes in
the user npmrc that setup-node already points yarn at, scoped to the
npm.pkg.github.com host so the npm publish above is unaffected.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@bvu-front
bvu-front requested review from a team and manor1016 October 13, 2026 17:29
@bvu-front
bvu-front merged commit a3d6cf9 into main Oct 13, 2026
7 checks passed
@bvu-front
bvu-front deleted the mirror-to-github-packages branch October 13, 2026 18:56
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.

3 participants