Skip to content

Comments

ci: libs publishing workflow#2570

Merged
asvishnyakov merged 12 commits intomainfrom
feat/publish-libs-workflow
Oct 6, 2025
Merged

ci: libs publishing workflow#2570
asvishnyakov merged 12 commits intomainfrom
feat/publish-libs-workflow

Conversation

@asvishnyakov
Copy link
Member

@asvishnyakov asvishnyakov commented Oct 5, 2025

Closes #2550

This PR enables automatic publishing of the @chainlit/react-client (and any other non-private package in libs/* if we will add them) to the npm registry.

To test the publishing process, use the Dry run (test publishing) option, similar to the Publish to TestPyPI instead of PyPI feature introduced in #2483.

Other changes:

  • Removed pnpm install arguments, since CI must always use a frozen lockfile.
    • Updating the lockfile during CI runs is bad practice, as changes are not committed back to the repository and resolved dependency versions may differ from those declared in the source code.
    • If you encounter an error where pnpm indicates that the lockfile needs to be updated, run pnpm install or pnpm install --lockfile-only locally and commit the resulting changes to the PR where the CI failure occurred.
  • Removed pnpm-skip-install from pnpm-node-install action since no longer used anywhere
  • CI will be skipped if the PR or commit includes only markdown files located at the repository root or the LICENSE file.

@asvishnyakov asvishnyakov marked this pull request as ready for review October 6, 2025 00:44
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. dev-tooling Relating to developer/contributor toolings. labels Oct 6, 2025
@asvishnyakov asvishnyakov enabled auto-merge October 6, 2025 00:48
@asvishnyakov asvishnyakov added this pull request to the merge queue Oct 6, 2025
Merged via the queue into main with commit 5f4b430 Oct 6, 2025
10 checks passed
@asvishnyakov asvishnyakov deleted the feat/publish-libs-workflow branch October 6, 2025 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dev-tooling Relating to developer/contributor toolings. size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

latest release of npm package @chainlit/react-client is out of date

2 participants