Skip to content

Conversation

@christian-bromann
Copy link
Member

This PR adds a new GitHub Actions workflow that enables maintainers to publish dev releases of individual packages for testing purposes.

What's New

Dev Release Workflow (.github/workflows/dev-release.yml)

A manually-triggered workflow that allows publishing pre-release versions of any package in the monorepo.

Features:

  • 📦 Package Selection - Choose from all available packages (langchain, @langchain/core, @langchain/openai, etc.)
  • 🌿 Branch Selection - Publish from any branch, not just main
  • 🏷️ Customizable NPM Tag - Defaults to dev, but can be changed (e.g., beta, next, canary)
  • 🔖 Version with Git SHA - Versions include the commit SHA for traceability (e.g., 1.1.0-dev.abc1234)

@changeset-bot
Copy link

changeset-bot bot commented Dec 1, 2025

⚠️ No Changeset found

Latest commit: 1455188

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

@github-actions github-actions bot added the ci label Dec 1, 2025
Copy link
Member

@hntrl hntrl left a comment

Choose a reason for hiding this comment

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

Do we just want to depend on prerelease modes?

https://github.com/changesets/changesets/blob/main/docs/prereleases.md

@christian-bromann
Copy link
Member Author

@hntrl good call, switched to changesets, it now just publishes all packages that have changes. Also added a step to comment on any opened PR with given branch notifying that a dev release was published.

@christian-bromann christian-bromann merged commit 0fe11c4 into main Dec 4, 2025
6 checks passed
@christian-bromann christian-bromann deleted the cb/dev-release-pipeline branch December 4, 2025 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants