Add CI publish workflow for fork packages under @argonavis-labs scope #489
astrobot-houston
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
Adds a GitHub Actions workflow and a small publish script so the fork builds, tests, and publishes the four Flue packages (
runtime,sdk,react,cli) to GitHub Packages under the@argonavis-labsscope on every merge tomain..github/workflows/publish.ymlinstalls dependencies, builds and tests the four packages, prepares publish artifacts, and publishes to GitHub Packages.scripts/publish-fork.mjsrewrites package names to@argonavis-labs/flue-*, appends a fork prerelease suffix (1.0.0-beta.9-argonavis.<sha>), rewrites internalworkspace:*references to npm aliases, and skips already-published versions.scripts/prepare-publish.mjsnow includes@flue/reactand avoids overwriting existing package READMEs.packages/react/package.jsonincludesdocsinfilesso React publishes docs like the other three packages.Test plan
actionlint.node --checkpasses forscripts/publish-fork.mjsandscripts/prepare-publish.mjs.mainsuccessfully publishes all four packages tohttps://npm.pkg.github.com/@argonavis-labs/.Generated with Devin
Original implementation from #488 by @steven4354
All reactions