Skip to content

Fix npm publish for v2.3.0 (Trusted Publishing) - #10

Merged
mangelsnc merged 1 commit into
mainfrom
develop
Jun 15, 2026
Merged

Fix npm publish for v2.3.0 (Trusted Publishing)#10
mangelsnc merged 1 commit into
mainfrom
develop

Conversation

@mangelsnc

Copy link
Copy Markdown
Owner

Merges PR #9 to main. The v2.3.0 tag and GitHub Release already exist; this merge only fixes the publish path.

After this merges:

  1. The push-triggered run of release.yml will see v2.3.0 already tagged and skip every step (baseline run of the new workflow).
  2. Then we trigger gh workflow run release.yml -f force_publish=true to publish v2.3.0 to npm with OIDC + provenance.

See PR #9 for details.

- Bump runner to Node 20 (npm 10 required for OIDC and --provenance).
- Add id-token: write permission so the workflow can request an OIDC token.
- Drop NODE_AUTH_TOKEN; npm publish authenticates via Trusted Publishing.
- Add --provenance --access public to the publish step.
- Add workflow_dispatch with a force_publish input to re-publish a version
  without re-tagging (needed to recover from a failed publish like v2.3.0).
@mangelsnc mangelsnc self-assigned this Jun 15, 2026
@mangelsnc
mangelsnc merged commit e5d35a5 into main Jun 15, 2026
1 check passed
@mangelsnc
mangelsnc deleted the develop branch June 15, 2026 18:27
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