Skip to content

Commit b5184a5

Browse files
amannirala13claude
andcommitted
feat: enable npm provenance for package publishing
- Add --provenance flag to CLI package publishing - Add --provenance flag to runner-node package publishing - Enhances package security and transparency - Users can verify packages were built from legitimate source 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent cbad88c commit b5184a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ jobs:
4949
- name: Publish @envguard/cli to npm
5050
if: github.event.inputs.package == 'all' || github.event.inputs.package == 'cli' || github.event_name == 'release'
5151
working-directory: ./packages/cli
52-
run: pnpm publish --no-git-checks --access public
52+
run: pnpm publish --no-git-checks --access public --provenance
5353
env:
5454
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5555

5656
- name: Publish @envguard/runner-node to npm
5757
if: github.event.inputs.package == 'all' || github.event.inputs.package == 'runner-node' || github.event_name == 'release'
5858
working-directory: ./packages/runner-node
59-
run: pnpm publish --no-git-checks --access public
59+
run: pnpm publish --no-git-checks --access public --provenance
6060
env:
6161
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6262

0 commit comments

Comments
 (0)