Skip to content

feat: add GitHub Actions workflow for publishing and releasing packages - #1

Merged
jiashengguo merged 1 commit into
mainfrom
dev
Aug 13, 2026
Merged

jiashengguo merged 1 commit into
mainfrom
dev

Conversation

@jiashengguo

@jiashengguo jiashengguo commented Aug 13, 2026

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • Release Management

    • Added automated build, package publishing, versioning, changelog generation, and draft release creation.
    • Releases can be initiated manually or triggered by updates to the main branch.
  • Improvements

    • Updated the built command-line entry point to run directly as an executable.

@coderabbitai

coderabbitai Bot commented Aug 13, 2026

Copy link
Copy Markdown

Review Change Stack

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Free

Run ID: a9efa0c8-e5ba-4308-bf35-1ffed83a3985

📥 Commits

Reviewing files that changed from the base of the PR and between 09172ce and 30abd74.

📒 Files selected for processing (2)
  • .github/workflows/publish-release.yml
  • package.json

📝 Walkthrough

Walkthrough

The change adds a GitHub Actions workflow for package publishing and draft release creation. The build script now makes dist/index.js executable.

Changes

Release automation

Layer / File(s) Summary
Build entry point
package.json
The build script now applies executable permissions to dist/index.js.
Publish and release workflow
.github/workflows/publish-release.yml
A manual or main-push workflow installs dependencies, builds the project, publishes packages to npm, generates a changelog, and creates a draft GitHub release.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Mergeability Score: ⚪ Minimal · up to 30abd

This PR adds a package publishing and release workflow and updates the package metadata; no actionable merge-blocking risk remains based on the supplied evidence.

Sequence Diagram(s)

sequenceDiagram
  participant GitHubActions
  participant PnpmNode
  participant NpmRegistry
  participant GitHubRelease
  GitHubActions->>PnpmNode: Install dependencies and build
  GitHubActions->>NpmRegistry: Publish packages with NPM_TOKEN
  GitHubActions->>GitHubRelease: Create draft release with tag and changelog
Loading

Note

🎁 Summarized by CodeRabbit Free

Your organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login.

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

@jiashengguo
jiashengguo merged commit 2b42ff2 into main Aug 13, 2026
3 checks passed
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