Skip to content

chore(ci): add manual prerelease workflow - #540

Merged
patrickkabwe merged 1 commit into
mainfrom
chore/manual-prerelease-workflow
Sep 18, 2026
Merged

patrickkabwe merged 1 commit into
mainfrom
chore/manual-prerelease-workflow

Conversation

@patrickkabwe

@patrickkabwe patrickkabwe commented Sep 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a manual Pre-release workflow with selectable source branch and dry-run mode
  • default prereleases to the next branch while allowing main as an explicit option
  • add a prerelease-only semantic-release config so selected branches publish on the next channel
  • add local dry-run scripts for main and next prerelease checks

Notes

  • The workflow copies the prerelease config to RUNNER_TEMP before switching branches, so the selected branch does not need to already contain the new config file.
  • The semantic-release command unsets GITHUB_ACTIONS so env-ci reads the checked-out branch instead of the workflow ref.

Verification

  • bun lint
  • bun run build
  • go run github.com/rhysd/actionlint/cmd/actionlint@latest .github/workflows/pre-release.yml
  • PRERELEASE_BRANCH=next node config check
  • PRERELEASE_BRANCH=main node config check
  • bun run prerelease:dry-run:main
  • bun run prerelease:dry-run:next
  • env-ci branch fallback probe

Summary by CodeRabbit

  • New Features
    • Added a controlled pre-release workflow for publishing builds from the supported release branches.
    • Added dry-run options to preview pre-release publishing without releasing packages.
    • Added validation to ensure pre-releases use supported branch and channel settings.
    • Added safeguards to prevent overlapping pre-release runs and improve release reliability.

@coderabbitai

coderabbitai Bot commented Sep 18, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 4c816e0d-3a1b-4263-a212-8d9bf075bf5f

📥 Commits

Reviewing files that changed from the base of the PR and between 3f55240 and d78b41c.

📒 Files selected for processing (3)
  • .github/workflows/pre-release.yml
  • package.json
  • release.prerelease.config.cjs
 _______________________________________________________________________________________________________________
< Make quality a requirements issue. Involve your users in determining the project's real quality requirements. >
 ---------------------------------------------------------------------------------------------------------------
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@patrickkabwe
patrickkabwe force-pushed the chore/manual-prerelease-workflow branch from 651468a to d78b41c Compare September 18, 2026 08:04
@patrickkabwe
patrickkabwe merged commit 107a8ee into main Sep 18, 2026
24 of 25 checks passed
@patrickkabwe
patrickkabwe deleted the chore/manual-prerelease-workflow branch September 18, 2026 08:10
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