Skip to content

chore(release): prepare v7.0.0 and fix npm trusted publishing workflow - #8

Merged
bmadcode merged 1 commit into
mainfrom
chore/release-7-0-0
Nov 30, 2026
Merged

bmadcode merged 1 commit into
mainfrom
chore/release-7-0-0

Conversation

@bmadcode

@bmadcode bmadcode commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Fix .github/workflows/publish.yml for npm OIDC Trusted Publishing:
    • Upgrade npm to 11.6.2 on Node 22 (npm Trusted Publishing requires npm >= 11.5.1).
    • Omit registry-url from actions/setup-node@v4 so it does not write an empty //registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN} line that breaks OIDC with ENEEDAUTH.
  • Bump package.json and package-lock.json from 7.0.0-next.0 to 7.0.0.

After Merge

  1. Tag main with v7.0.0 (git fetch origin && git checkout main && git pull --ff-only && git tag v7.0.0 && git push origin v7.0.0) — do not re-run npm version, since this PR already bumps to 7.0.0.
  2. Wait for Publish to push bmad-method@7.0.0 under --tag next, smoke-test npx bmad-method@7.0.0 in a clean temp directory, then promote with npm dist-tag add bmad-method@7.0.0 latest.

Verification

  • npm ci
  • npm run check (tsc)
  • npm test (204 passed, 0 failed, 1 e2e skipped cleanly without override)
  • BMAD_INSTALLER_E2E_SOURCE=/Users/bmad/bmad-code/oss/bmad-bmm npm run e2e (1/1 passed)
  • npm pack --dry-run (bmad-method-7.0.0.tgz, 32 files)

Summary by CodeRabbit

  • Release
    • The package version is now 7.0.0, replacing the previous 7.0.0-next.0 prerelease version.
    • No end-user feature or behavior changes are described in this update. The change marks a new release version; it does not indicate any new capabilities or changes to existing functionality.

@coderabbitai

coderabbitai Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The package version changes from 7.0.0-next.0 to 7.0.0. The publish workflow removes the npm registry URL configuration from setup-node and installs npm 11.6.2 globally.

Changes

Package release

Layer / File(s) Summary
Release version and publish setup
.github/workflows/publish.yml, package.json
The package version changes to 7.0.0. The publish workflow removes the registry URL setting from setup-node and adds a step to install npm 11.6.2 globally.

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Bug fix

Merge Risk: Minimal · up to e6575 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names two changes: a release preparation to v7.0.0 and a fix to the npm trusted publishing workflow. The raw summary confirms both. The package.json version moves from 7.0.0-next.0 to 7.0.0,…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names two changes: a release preparation to v7.0.0 and a fix to the npm trusted publishing workflow. The raw summary confirms both. The package.json version moves from 7.0.0-next.0 to 7.0.0, and publish.yml drops the registry-url setting and installs npm 11.6.2. The title is specific and tied to the main change, though it does not mention the lockfile update. It is also a conventional commit style title of 70 characters, which is within a reasonable length.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

A rabbit checks the release tag
Then hops beside the publish flow
npm is set to eleven-six
The package wears its stable name
And carrots wait beyond the build

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f18ab857-0438-4c3b-95a7-9672ad27612b
Commits

Reviewing files that changed from the base of the PR and between e84c141 and e657564.

Files ignored due to path filters: 1

  • package-lock.json is excluded by !**/package-lock.json
Files selected for processing: 2

  • .github/workflows/publish.yml
  • package.json

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@bmadcode
bmadcode merged commit 1d86090 into main Nov 30, 2026
7 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