Skip to content

Add trusted npm release workflow - #4

Merged
zhou-wang-git merged 1 commit into
mainfrom
codex/add-trusted-publishing
Jul 16, 2026
Merged

Add trusted npm release workflow#4
zhou-wang-git merged 1 commit into
mainfrom
codex/add-trusted-publishing

Conversation

@zhou-wang-git

Copy link
Copy Markdown
Member

What changed\n\n- add a GitHub Release-triggered npm publishing workflow\n- use GitHub OIDC instead of a long-lived npm token\n- verify the release tag matches both package versions\n- run all checks and build before packing\n- publish core before the CLI package\n\n## Security\n\nThe workflow grants only read access to repository contents plus the OIDC identity-token permission. Release builds run without dependency caching and use a pinned OIDC-capable npm CLI.\n\n## Validation\n\n- pnpm check (22 tests)\n- pnpm build\n- release workflow YAML parsed successfully\n- release version guard validated with v0.1.0

@zhou-wang-git
zhou-wang-git marked this pull request as ready for review July 16, 2026 15:10
@zhou-wang-git
zhou-wang-git merged commit 50f0b6b into main Jul 16, 2026
6 checks passed
@zhou-wang-git
zhou-wang-git deleted the codex/add-trusted-publishing branch July 16, 2026 15:11
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