Skip to content

ci: configure release-please#120

Merged
swernerx merged 1 commit into
mainfrom
codex/setup-release-please
Jul 22, 2026
Merged

ci: configure release-please#120
swernerx merged 1 commit into
mainfrom
codex/setup-release-please

Conversation

@swernerx

Copy link
Copy Markdown
Member

Summary

  • configure Release Please from the Node product template for the existing single-package release history
  • preserve the existing v1.x tag format and bootstrap from the v1.4.0 release commit
  • create GitHub releases and publish the package to npm after a release PR is merged
  • remove the parallel release-it configuration and document the required repository secrets

Validation

  • pnpm check
  • Release Please JSON syntax validation
  • pre-push hook (pnpm check)

Repository setup

The workflow expects an NPM_TOKEN repository secret. RELEASE_PLEASE_TOKEN is recommended so Release Please-created PRs trigger the regular pull-request CI; it falls back to GITHUB_TOKEN when the secret is not configured.

Refs #92

@swernerx

Copy link
Copy Markdown
Member Author

@greptileai review

@greptile-apps

greptile-apps Bot commented Jul 22, 2026

Copy link
Copy Markdown

Greptile Summary

This PR replaces the manual release-it process with an automated Release Please workflow. The main changes are:

  • Adds Release Please configuration and a 1.4.0 manifest baseline.
  • Creates GitHub releases and publishes the package to npm from main.
  • Removes release-it configuration, scripts, dependencies, and lockfile entries.
  • Documents the automated release flow and required secrets.

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.
  • The release baseline matches the current package version.
  • The npm publish path retains the existing validation and build lifecycle.

Important Files Changed

Filename Overview
.github/workflows/release-please.yml Adds the main-branch release workflow and publishes to npm only after a release is created.
release-please-config.json Configures the root Node package, changelog, release baseline, and existing tag convention.
.release-please-manifest.json Bootstraps Release Please at version 1.4.0.
package.json Removes the release-it command and development dependencies while retaining prepublish validation.
pnpm-lock.yaml Removes release-it and its unused transitive dependencies.
README.md Documents the automated release process and repository secrets.

Reviews (1): Last reviewed commit: "ci: configure release-please" | Re-trigger Greptile

@greptile-apps

greptile-apps Bot commented Jul 22, 2026

Copy link
Copy Markdown

Greptile Summary

This PR replaces the manual release-it process with Release Please. The main changes are:

  • Adds a main-branch workflow for release PRs, GitHub releases, and npm publishing.
  • Bootstraps the root package from version 1.4.0 and preserves v<version> tags.
  • Removes the release-it script, configuration, dependencies, and lockfile entries.
  • Documents the automated release flow and repository secrets.

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.
  • The manifest version, package version, release commit, and tag format are consistent.
  • The removed release-it command is not used by active workflows or hooks.

Important Files Changed

Filename Overview
.github/workflows/release-please.yml Adds the Release Please workflow and gates npm publication on a newly created release.
release-please-config.json Configures the root Node package, existing changelog, release baseline, and plain version tags.
.release-please-manifest.json Bootstraps the root package at version 1.4.0.
package.json Removes the release-it command and development dependencies.
pnpm-lock.yaml Removes release-it and its unused transitive dependency graph.
README.md Documents Release Please and the npm and GitHub token setup.

Reviews (2): Last reviewed commit: "ci: configure release-please" | Re-trigger Greptile

@swernerx
swernerx merged commit 12745c6 into main Jul 22, 2026
8 checks passed
@swernerx
swernerx deleted the codex/setup-release-please branch July 22, 2026 20:00
@codecov

codecov Bot commented Jul 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 47.81%. Comparing base (404bc3e) to head (964d383).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #120   +/-   ##
=======================================
  Coverage   47.81%   47.81%           
=======================================
  Files          50       50           
  Lines        5733     5733           
  Branches     1713     1713           
=======================================
  Hits         2741     2741           
  Misses       2990     2990           
  Partials        2        2           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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