Skip to content

feat: add npmjs publishing to release workflow#25

Merged
Mearman merged 4 commits intomasterfrom
feature/npmjs-publishing-workflow
Dec 10, 2025
Merged

feat: add npmjs publishing to release workflow#25
Mearman merged 4 commits intomasterfrom
feature/npmjs-publishing-workflow

Conversation

@Mearman
Copy link
Contributor

@Mearman Mearman commented Dec 10, 2025

Note

Adds an npmjs publish job alongside GitHub Packages, enables OIDC, and updates dry-run messaging.

  • CI/Release Workflow (.github/workflows/release.yml):
    • Publishing:
      • Split publish step into publish-gh (GitHub Packages) and new publish-npmjs (npmjs) job.
      • publish-npmjs: deletes publishConfig, installs, lints, builds, and publishes with npm publish --access public --provenance to npmjs.
    • Security/Permissions: grants id-token: write for OIDC provenance.
    • Dry Run: summary now notes publishing to both GitHub Packages and npmjs.
  • Package Metadata (package.json):
    • Update repository.url to git+https://... .git format.

Written by Cursor Bugbot for commit 6192428. This will update automatically on new commits. Configure here.

- Add publish-npmjs job that runs in parallel with publish-gh
- Configure OIDC authentication for secure npm publishing
- Remove publishConfig dynamically for npmjs publishing
- Both jobs depend only on release-please for parallel execution
@Mearman Mearman requested a review from a team December 10, 2025 17:02
@Mearman Mearman changed the title feat: add npmjs publishing with OIDC to release workflow feat: add npmjs publishing to release workflow Dec 10, 2025
Ensures both publishing jobs have identical validation with npm run lint
@Mearman Mearman enabled auto-merge (rebase) December 10, 2025 17:10
Required for npm's trusted publishing flow with OIDC authentication
@Mearman Mearman disabled auto-merge December 10, 2025 17:40
@Mearman Mearman merged commit 2338547 into master Dec 10, 2025
9 checks passed
@Mearman Mearman deleted the feature/npmjs-publishing-workflow branch December 10, 2025 17:40
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.

2 participants