Skip to content

chore: allow first npm publish with provenance from Actions - #119

Merged
adamlogic merged 2 commits into
mainfrom
adam/publishconfig-public-access
Aug 18, 2026
Merged

adamlogic merged 2 commits into
mainfrom
adam/publishconfig-public-access

Conversation

@adamlogic

@adamlogic adamlogic commented Aug 18, 2026 •

Copy link
Copy Markdown
Member

Summary

The release of judoscale-nextjs@2.0.1 failed in CI because npm refuses provenance for a new package unless access is explicitly public. Existing packages were fine because they were already on the registry. GitHub already has the v2.0.1 release/tag; npm does not.

This adds publishConfig.access: public to every package and a workflow_dispatch trigger on the release workflow so we can re-run bin/publish from the fixed commit without cutting another release-please version.

Design decisions

  • chore, not fix — this is release tooling, not a user-facing package bug. Using fix would open a release PR and bump every touched package, leaving 2.0.1 unpublished on npm.
  • publishConfig on all packages — same future-proofing for the next new package name.
  • workflow_dispatch — bin/publish is idempotent (skips versions that exist). After merge, manually run the workflow to finish publishing judoscale-nextjs@2.0.1 with provenance.

After merge

  1. Run the release-please workflow manually (workflow_dispatch).
  2. Confirm npm view judoscale-nextjs version is 2.0.1.

Note

Low Risk
CI/release configuration only; no application runtime or auth logic changes.

Overview
Fixes failed first-time npm publishes with provenance by adding publishConfig.access: "public" to every workspace package.json, so npm treats new packages as explicitly public when CI runs with NPM_CONFIG_PROVENANCE.

The release-please workflow gains workflow_dispatch (guarded to main only) and the checkout/setup-node/bin/publish steps now run when a release is created or the workflow is manually triggered, so you can re-run publish after a partial failure without cutting another release-please version.

Reviewed by Cursor Bugbot for commit 1c61904. Bugbot is set up for automated code reviews on this repo. Configure here.

Add publishConfig.access=public so new packages can publish with
provenance, and workflow_dispatch so we can re-run bin/publish after a
partial release without cutting another release-please version.

Co-authored-by: Cursor <cursoragent@cursor.com>
@adamlogic
adamlogic force-pushed the adam/publishconfig-public-access branch from 5757aa4 to c5f891e Compare August 18, 2026 13:30
@adamlogic adamlogic changed the title fix: allow first npm publish with provenance from Actions chore: allow first npm publish with provenance from Actions Aug 18, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit c5f891e. Configure here.

Comment thread .github/workflows/release.yml Resolved
workflow_dispatch can target any branch in the UI; skip the job unless
the ref is main.

Co-authored-by: Cursor <cursoragent@cursor.com>
@adamlogic
adamlogic merged commit 315b57b into main Aug 18, 2026
45 checks passed
@adamlogic
adamlogic deleted the adam/publishconfig-public-access branch August 18, 2026 13:43
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