Skip to content

feat: add automated changesets release workflow#1389

Open
draggie wants to merge 2 commits into
callstack:mainfrom
draggie:feat/automated-release-workflow
Open

feat: add automated changesets release workflow#1389
draggie wants to merge 2 commits into
callstack:mainfrom
draggie:feat/automated-release-workflow

Conversation

@draggie

@draggie draggie commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Closes #1388

Summary:

  • Adds a Changesets-based release workflow with stable release PR/publish automation and manual canary releases.
  • Uses npm trusted publishing/OIDC without npm publish tokens and disables package-manager caching in release jobs.
  • Adds a temporary PR release dry-run job to preview status/snapshot version generation before publishing.

Validation:

  • pnpm lint:ci
  • pnpm typecheck
  • pnpm test
  • git diff --check

@vercel

vercel Bot commented Jun 9, 2026

Copy link
Copy Markdown

@draggie is attempting to deploy a commit to the Callstack Team on Vercel.

A member of the Team first needs to authorize it.

@changeset-bot

changeset-bot Bot commented Jun 9, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: ae2d85f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Comment thread package.json Outdated
@draggie draggie force-pushed the feat/automated-release-workflow branch 6 times, most recently from 99e3e2f to 8812107 Compare June 10, 2026 12:38
@draggie draggie force-pushed the feat/automated-release-workflow branch from 8812107 to d15d0e3 Compare June 11, 2026 08:01
Comment thread .github/workflows/release.yml Outdated
Comment thread package.json Outdated
"version-packages": "pnpm changeset version && pnpm lint",
"version-packages:canary": "pnpm changeset version --snapshot canary && pnpm lint",
"release": "pnpm changeset publish",
"release:canary": "pnpm changeset publish --tag canary --no-git-tag --snapshot",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is --snapshot and --no-git-tag correct here? I don't see it on the docs:

Usage:
  $ changeset publish

Options:
  --otp <code>           One time password for npm publish 
  --tag <name>           Publish with the given npm dist-tag 
  --from-pack-dir <dir>  Publish from a packed output directory 
  --git-tag              Create a git tag for the release (default: true)

Examples:
  $ changeset publish --otp 123456
  $ changeset publish --tag beta

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no-git-tag is fine, but snapshot is from different command not publish

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.

Automated release workflow

2 participants