Skip to content

ci: release through the shared uxfront-com/.github workflow - #690

Merged
alexgrozav merged 2 commits into
mainfrom
inkline-shared-release-uxf-1015
Nov 24, 2026
Merged

alexgrozav merged 2 commits into
mainfrom
inkline-shared-release-uxf-1015

Conversation

@alexgrozav

@alexgrozav alexgrozav commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

changesets.yml now only calls the shared release workflow in uxfront-com/.github, pinned to commit 18a1d7cb1576c8053a80f3d166cfefecd470f5b3 on its main, the same pin as Styleframe. It passes publish: false, so the release keeps the "chore: update versions" PR (#442) current and never packs or publishes. Merging #442 still publishes nothing, as today. The file keeps its name, since npm trusted publishing binds to it, and NPM_TOKEN and NODE_AUTH_TOKEN are gone.

changesets/action v2 needs Changesets 3, so @changesets/cli moves from ^2.31.0 to ^3.0.3. Changesets 3 stops versioning private packages by default. The config now sets privatePackages to { "version": true, "tag": false } to keep the Changesets 2 behaviour, as Styleframe does. No private package depends on a public one today, so changeset status lists the same seven packages either way.

The caller still grants id-token: write. A called workflow can only lower its caller's permissions, and GitHub's docs don't exempt a skipped job from that check, so the shared workflow's publish job needs it here even when publish: false skips it.

Related issues

Type of change

  • feat — new user-facing capability or public API
  • fix — bug fix
  • refactor — internal change, no behavior change
  • docs — documentation only
  • test — tests only
  • chore / ci — tooling, dependencies, or CI

Test plan

  • vp run ready passes locally, from a clean node_modules
  • The other CI jobs pass locally: pnpm run typecheck, vp lint and vp fmt --check, the website's generate and test:build, and the visual comparison on every target
  • actionlint 1.7.12 passes on changesets.yml
  • pnpm install --frozen-lockfile and pnpm exec changeset --version print 3.0.3, and pnpm exec changeset status exits 0
  • The pinned commit holds release.yml and is on main of uxfront-com/.github
  • git grep -E 'NPM_TOKEN|NODE_AUTH_TOKEN' -- .github finds nothing

About the lockfile diff. Most of its 2,860 lines aren't Changesets. Any re-resolution of today's main lockfile under pnpm 11.25.0, with no dependency change at all (pnpm install --resolution-only), rewrites about 2,540 lines of peer-dependency suffixes, like supports-color and @voidzero-dev/vite-plus-core. This change writes the lockfile, so it brings that refresh with it. Compared with that refreshed lockfile, this PR only adds Changesets 3's tree and drops launch-editor@2.14.1 and its shell-quote@1.8.4, which leaves launch-editor 2.14.2.

Checklist

  • Added a changeset (pnpm changeset) for any change to a published package's behavior, API, or types. See docs/release-process.md.
  • If this PR changes public API, build flow, conventions, or repo structure, the relevant AGENTS.md or docs/*.md files have been updated. See docs/maintenance.md → "Cross-references".
  • Commit messages follow the conventional format (feat(scope): …, fix(scope): …). See docs/conventions.md → "Commit messages".

No changeset: the change touches the root package, CI and docs only, and publishes nothing. docs/release-process.md now describes the shared workflow, publish: false and how to turn publishing on with npm trusted publishing, and notes the privatePackages setting.

Call the shared release workflow from changesets.yml, pinned by commit
SHA, with publish: false, so it keeps the "chore: update versions" PR
current and never packs or publishes. The filename stays, since npm
trusted publishing binds to it, and NPM_TOKEN is gone.

Move @changesets/cli to ^3.0.3, which changesets/action v2 needs, and
keep v2's privatePackages behaviour explicit in the config.
@alexgrozav
alexgrozav marked this pull request as ready for review November 24, 2026 15:10
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://inkline-shared-release-uxf-1015.preview.inkline.io, https://inkline-shared-release-uxf-1015-inkline-preview.uxfront.workers.dev (commit dcbac97)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://b9adadd4.preview.inkline.io, https://b9adadd4-inkline-preview.uxfront.workers.dev dcbac97 2026-11-24T15:20:16.703Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://e2b37552.preview.inkline.io, https://e2b37552-inkline-preview.uxfront.workers.dev 1064a53 2026-11-24T15:12:51.107Z Visit the dashboard ↗

@alexgrozav
alexgrozav marked this pull request as draft November 24, 2026 15:15
Phase B now says publishing is off through publish: false, and how to turn it on with npm trusted publishing instead of NPM_TOKEN. The privatePackages setting is noted where the config is described.
@alexgrozav
alexgrozav marked this pull request as ready for review November 24, 2026 15:22
@alexgrozav
alexgrozav merged commit bda0df2 into main Nov 24, 2026
2 checks passed
@alexgrozav
alexgrozav deleted the inkline-shared-release-uxf-1015 branch November 24, 2026 15:22
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.

1 participant