Skip to content

chore(release): 0.0.1-beta.35 — npm trusted publishing - #16

Merged
agentosiwp[bot] merged 1 commit into
mainfrom
ci/npm-trusted-publishing
Oct 12, 2026
Merged

agentosiwp[bot] merged 1 commit into
mainfrom
ci/npm-trusted-publishing

Conversation

@agentosiwp

@agentosiwp agentosiwp Bot commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

Why

The v0.0.1-beta.34 publish failed: npm error 404 PUT https://registry.npmjs.org/@instawp%2fcli (run 38204319727). Build, tests and pack all passed. When a token is supplied, a 404 on PUT is npm rejecting the credential. NPM_TOKEN was last set on 2026-05-22, and npm granular write tokens last at most 90 days, so it had expired. beta.33 (07-28) was the last good publish, and beta.34 never reached npm.

Change

  • publish.yml: authenticate with npm trusted publishing (OIDC) instead of NPM_TOKEN. The job already had id-token: write. This adds npm install -g npm@^11.5.1 before publishing, because Node 22 ships npm 10.
  • Publish directly to latest, and drop the step that moved latest with npm dist-tag add: OIDC only covers npm publish, and latest is what npm i -g, instawp upgrade and the update notifier read. The beta dist-tag stays at beta.33; nothing in the repo reads it.
  • Bump to 0.0.1-beta.35. The CHANGELOG notes that this release also ships the unpublished beta.34 and includes fix(local stop): stop the server's process group, not just the npx wrapper #15.

Prerequisite (human, npmjs.com)

@instawp/cli → Settings → Trusted Publisher → GitHub Actions: org InstaWP, repo cli, workflow publish.yml, environment blank. Without this, the tag's publish step fails again. The fix is then to re-run the failed job on the same tag; no new tag is needed.

Agentric session: https://aos.agents.instawp.net/#/sessions/aos-ses_38c321a35dad3faa

🤖 Generated with Claude Code

…ublished beta.34

NPM_TOKEN (granular, set 2026-05-22) expired, so the v0.0.1-beta.34 publish
was rejected with E404 PUT and beta.34 never reached npm. Publish via OIDC
trusted publishing instead (npm >= 11.5.1, already has id-token: write), and
publish straight to `latest` since OIDC cannot run `npm dist-tag`.

Includes PR #15 (local stop kills the npx Playground process group).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@agentosiwp
agentosiwp Bot merged commit ced02a5 into main Oct 12, 2026
1 of 2 checks passed
@kilo-code-bot

kilo-code-bot Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (5 files)
  • .github/workflows/publish.yml - OIDC trusted publishing migration
  • CHANGELOG.md - Version 0.0.1-beta.35 entry
  • CLAUDE.md - Updated publishing documentation
  • package.json - Version bump to 0.0.1-beta.35
  • package-lock.json - Version bump to 0.0.1-beta.35

Reviewed by nemotron-3-ultra-550b-a55b:free · Input: 173.6K · Output: 5K · Cached: 185.8K

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.

0 participants