Skip to content

ci: publish automatically when the release PR is merged - #144

Merged
czaydev merged 1 commit into
mainfrom
fix/release-0-8-0-publish
Oct 7, 2026
Merged

czaydev merged 1 commit into
mainfrom
fix/release-0-8-0-publish

Conversation

@czaydev

@czaydev czaydev commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

Before: merging the release PR only prepared the release. Publish to NPM had to be run by hand, so 0.8.0 (#143) was never published. Running it would also have failed, because the docs changelog had no ## 0.8.0 section.

After: Publish to NPM runs on every push to main. A small check job looks for the GitHub release of the current package version; when there is none (right after the release PR is merged) the publish job runs and publishes on latest. Other pushes skip it. Running it by hand still works for a dry run or another npm_tag.

Merging this PR publishes 0.8.0, since v0.8.0 has no release yet.

How: publish.yml gets a push trigger, a check job and a concurrency group; inputs are read through DRY_RUN / NPM_TAG env with defaults for pushes. The docs changelog gets the 0.8.0 section (en/tr, translation check passes) and CONTRIBUTING (en/tr) describes the new flow.

@czaydev
czaydev requested a review from poyrazavsever as a code owner October 7, 2026 04:39
Copilot AI balanced review requested due to automatic review settings October 7, 2026 04:39

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vercel

vercel Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
better-payment-web-xhgb Ready Ready Preview Oct 7, 2026 4:40am UTC

@czaydev czaydev self-assigned this Oct 7, 2026
@czaydev
czaydev merged commit 8f0ef16 into main Oct 7, 2026
7 checks passed
@czaydev
czaydev deleted the fix/release-0-8-0-publish branch October 7, 2026 04:45

This branch was successfully deployed

1 active deployment
Preview — 4c585af6 Deployed Oct 7, 2026 by vercel[bot]
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.

2 participants