Skip to content

Add trusted npm publishing - #29

Merged
haseebahmed248 merged 1 commit into
mainfrom
feat/trusted-publishing
Sep 3, 2026
Merged

Add trusted npm publishing#29
haseebahmed248 merged 1 commit into
mainfrom
feat/trusted-publishing

Conversation

@haseebahmed248

Copy link
Copy Markdown
Owner

Closes #25

Adds a tag-driven alpha release workflow using npm trusted publishing. The publish job is protected by the npm-release environment and uses OIDC instead of a stored npm token.

The release validator blocks mismatched tags, package metadata, lockfile versions, and source versions before publishing. Successful publishes create a matching GitHub prerelease.

Validation:

  • npm run check:release -- v0.1.0-alpha.1
  • npm run test:release
  • npm run check
  • npm run check:generated
  • npm test
  • npm run test:package
  • workflow YAML parse check

Signed-off-by: haseebahmed248 <haseebahmed6157@gmail.com>
@haseebahmed248
haseebahmed248 merged commit 16ab2e0 into main Sep 3, 2026
6 checks passed
@haseebahmed248
haseebahmed248 deleted the feat/trusted-publishing branch September 3, 2026 13:30
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.

Add a trusted-publishing workflow for alpha releases

1 participant