Skip to content

Commit ae7eaeb

Browse files
amannirala13claude
andcommitted
feat: add GitHub Actions environment for npm publishing
- Configure workflow to use 'npm-publish' environment - Enhances security by restricting publishes to approved workflow runs - Allows for environment protection rules (reviewers, branch restrictions) - Provides better audit trail for package releases 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent b617960 commit ae7eaeb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ on:
1818
jobs:
1919
publish:
2020
runs-on: ubuntu-latest
21+
environment: npm-publish
2122
permissions:
2223
contents: read
2324
packages: write

0 commit comments

Comments
 (0)