Repository navigation
ci(embed): publish @turbodocx/embed to npm on embed-v* releases - #89
Merged
Merged
Conversation
@turbodocx/embed had no publish workflow, so it was skipped by the SDK release and has never reached npm. Mirror publish-js.yml: on a release tagged embed-v*, build and test the workspace, then npm publish with provenance using NPM_TOKEN.
Closed
2 of 3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds
.github/workflows/publish-embed.yml. On a GitHub Release taggedembed-v*it builds and testspackages/embed, then runsnpm publish --workspace packages/embed --access public --provenancewithNPM_TOKEN. It mirrorspublish-js.yml.Why
@turbodocx/embed(added in #77) had no publish workflow, so the v0.8.0 lockstep release skipped it. It has never been published to npm (npm view @turbodocx/embedreturns 404). Integrators currently need a vendored tarball.Verified locally
npm run build -w packages/embed: OKnpm test -w packages/embed: 3 suites, 54 tests passingnpm pack --dry-run -w packages/embed:@turbodocx/embed@0.2.0, 15 filesAfter merge
Cut
embed-v0.2.0(gh release create embed-v0.2.0 --target <merge sha>). This is the first publish of a new package under@turbodocx, soNPM_TOKENmust be allowed to create packages in the scope: a classic automation token, or a granular token with the@turbodocxscope or all packages.Related: #88 (publish workflows run on every release tag).
🤖 Generated with Claude Code
https://claude.ai/code/session_01FPrhr7EjqkqyWBLagUXqDf