Repository navigation
ci: release through the shared uxfront-com/.github workflow - #429
Merged
Merged
Conversation
Call the shared release workflow, pinned by SHA, from changesets.yml. It splits the release into jobs, so only the job that publishes to npm gets `id-token: write`, and the build runs with no write access. The filename stays, since npm's trusted publisher names it. A manual dispatch is now possible to rerun a release that failed half-way.
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://shared-release-workflow-uxf-1011.storybook.styleframe.dev, https://shared-release-workflow-uxf-1011-styleframe-storybook.uxfront.workers.dev (commit c18fc3a)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://shared-release-workflow-uxf-1011.styleframe.dev, https://shared-release-workflow-uxf-1011-styleframe.uxfront.workers.dev (commit c18fc3a)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
alexgrozav
marked this pull request as ready for review
November 24, 2026 12:46
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://shared-release-workflow-uxf-1011.play.styleframe.dev, https://shared-release-workflow-uxf-1011-styleframe-playground.uxfront.workers.dev (commit c18fc3a)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
9 of 15 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.
Description
changesets.ymlnow calls the shared release workflow inuxfront-com/.github, pinned to18a1d7cb1576c8053a80f3d166cfefecd470f5b3(a commit on itsmain), instead of running the whole release in one job.Before, one job held
id-token: writewhile it installed, built and versioned withcontents: write. The shared workflow splits the release into jobs: it selects the mode, versions, builds and packs with read access only, and givesid-token: writeto the publish job alone, the only one that talks to npm.name: Changesetsstay, since npm's trusted publisher names this file. A header comment says so.build: pnpm run ci:prepublish,version-script: pnpm ci:version, andchore: update versionsas the commit message and PR title.ubuntu-latestalready brings npm 11.19.1 (Node v24.22.3 in the last Changesets run).workflow_dispatchis new, so a release that failed half-way can run again. The shared workflow runs only onrefs/heads/main.secrets:line, noNPM_TOKENand noregistry-url. The version job gets the caller'sGITHUB_TOKEN, which@changesets/changelog-githubneeds.No changeset: no package changes.
Related issue
None.
Type of change
Checklist
feat(theme): …)pnpm build:nodocs && pnpm lint && pnpm typecheck && pnpm testand everything passespnpm changeset) for changes to publishable packages, or this change only touches docs/storybook/app/playground/testsdist/,.styleframe/)mainand stays focused in scopeNotes / screenshots
actionlint1.7.10 passes onchangesets.yml, and the pinnedrelease.ymlexists at that commit onmain. The commit isci:with no package scope, since it changes no package, and the package build, lint, typecheck and tests don't read this file.@styleframe/config-typescript3.0.0 and 3.0.1 have no provenance, unlike@styleframe/theme. npm sets trusted publishing per package, so check that this package has a trusted publisher foruxfront-com/styleframeandchangesets.ymlbefore you merge the "chore: update versions" PR, or its publish fails.