Repository navigation
fix(publish): npmjs OIDC trusted publishing (match ui/i18n/legal) - #1
Merged
Merged
Conversation
feature-gate is the last public lib not on npmjs. Adopt the fleet's proven publish workflow: canonical = public npmjs.com via GitHub Actions OIDC Trusted Publishing (token-less, provenance), GitHub Packages kept as mirror. Drop the dead Forgejo publish branch + the runtime name/publishConfig mutation (name is already @etamong-playground/feature-gate). Add publishConfig.access=public. Operator one-time: configure the npmjs Trusted Publisher for @etamong-playground/feature-gate, then tag to publish.
…-publisher setup)
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.
feature-gate is the last public lib not yet on public npmjs (
@etamong-playground/{ui,i18n,legal}are live). This adopts the same proven publish workflow:id-token: write+npm publish --access public, noregistry-url).GITHUB_TOKEN).NPM_PUBLISH_TOKEN/GITHUB_SERVER_URLdetection + the runtimenpm pkg set name/delete publishConfigmutation (name is already correct).publishConfig.access=publicto package.json.Operator one-time (npmjs account): configure a Trusted Publisher for
@etamong-playground/feature-gate(repoetamong-playground/feature-gate, workflowpublish.yml), then push av*.*.*tag — the OIDC publish then lands it on npmjs (creating the package). Until then this is inert; nothing breaks (current GH Packages consumers unaffected).Relates to the npm→npmjs migration.