Skip to content

chore(cd): finalize the release - #93

Merged
saltenasl merged 4 commits into
mainfrom
ls/finalize-release
Nov 1, 2025
Merged

saltenasl merged 4 commits into
mainfrom
ls/finalize-release

Conversation

@saltenasl

@saltenasl saltenasl commented Nov 1, 2025 •

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Chores
    • Updated the automated release workflow to use pnpm-based publishing and a streamlined filtering step, simplifying the publish process and removing the previous directory-navigation/publish steps for faster, more reliable deployments.

@saltenasl
saltenasl requested a review from a team as a code owner November 1, 2025 06:01
@codecov

codecov Bot commented Nov 1, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.11%. Comparing base (9496d0a) to head (d1f3005).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #93   +/-   ##
=======================================
  Coverage   92.11%   92.11%           
=======================================
  Files          20       20           
  Lines         431      431           
  Branches      119      119           
=======================================
  Hits          397      397           
  Misses         34       34           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@coderabbitai

coderabbitai Bot commented Nov 1, 2025 •

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

The CD workflow replaces the previous npm publish step that changed into each package directory and ran npm publish with a single pnpm invocation: pnpm publish --filter "${{ steps.package_info.outputs.package_name }}" --no-git-checks. The change switches publishing tooling, uses pnpm top-level filtering, and removes explicit directory navigation and npm publish calls.

Sequence Diagram(s)

sequenceDiagram
    autonumber
    participant GH as GitHub Actions
    participant Step as Publish Step
    participant PNPM as pnpm CLI
    Note over GH,Step: Old flow (removed)
    GH->>Step: checkout + setup node
    Step->>Step: cd <package_path>
    Step->>Step: run `npm publish`
    Step-->>GH: publish result
Loading
sequenceDiagram
    autonumber
    participant GH as GitHub Actions
    participant Step as Publish Step
    participant PNPM as pnpm CLI
    Note over GH,Step: New flow (current)
    GH->>Step: checkout + setup node
    Step->>PNPM: pnpm publish --filter "<package>" --no-git-checks
    PNPM-->>Step: publish result
    Step-->>GH: publish result
Loading

Possibly related PRs

Suggested reviewers

  • Artmann
  • andyjakubowski

Pre-merge checks

❌ Failed checks (1 warning, 1 inconclusive)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
Title Check ❓ Inconclusive The title "chore(cd): finalize the release" is vague and generic. While it relates to CD and releasing, it doesn't clearly communicate the specific technical change—replacing npm publish with pnpm publish in the workflow. A teammate scanning history wouldn't understand from this title that a tooling migration occurred. The phrase "finalize the release" is overly broad and doesn't summarize the main point of the changeset with enough clarity or specificity. Consider revising the title to be more specific about the actual change, such as "chore(cd): switch to pnpm for publishing" or "chore(cd): replace npm publish with pnpm". This would make the primary change immediately clear to reviewers and future maintainers.
✅ Passed checks (1 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: ASSERTIVE

Plan: Pro

Disabled knowledge base sources:

  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 460f61a and d1f3005.

📒 Files selected for processing (1)
  • .github/workflows/cd.yml (1 hunks)
🔇 Additional comments (2)
.github/workflows/cd.yml (2)

89-89: Quoting is now consistent with the build step.

The --filter parameter is properly quoted to align with line 82. This addresses the prior review feedback.


89-89: Need to verify the --no-git-checks flag support:

All flags verified—no issues found.

pnpm v10.19.0 supports both --filter and --no-git-checks flags for the publish command. The --no-git-checks flag prevents checks for branch status and remote synchronization, which is appropriate for GitHub Actions where repositories are checked out in a detached HEAD state.


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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: ASSERTIVE

Plan: Pro

Disabled knowledge base sources:

  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 9496d0a and 460f61a.

📒 Files selected for processing (1)
  • .github/workflows/cd.yml (1 hunks)
🔇 Additional comments (1)
.github/workflows/cd.yml (1)

84-89: No action needed—pnpm respects ~/.npmrc authentication.

pnpm reads and supports the same npm-style auth settings in ~/.npmrc (e.g. ///:_authToken) and uses those tokens for registry authentication. The workflow correctly configures and leverages this mechanism.

Comment thread .github/workflows/cd.yml Resolved
@saltenasl
saltenasl merged commit 80f0b10 into main Nov 1, 2025
@saltenasl
saltenasl deleted the ls/finalize-release branch November 1, 2025 06:12
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