Skip to content

Commit f8103ec

Browse files
author
Alok Kumar
authored
Update publish-npm.yml
updated --provenance for signing of package over npm.
1 parent e7c59b2 commit f8103ec

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/publish-npm.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ on:
44
release:
55
types: [ created ]
66

7+
permissions:
8+
id-token: write
9+
contents: read
10+
packages: write
11+
712
jobs:
813
build:
914
runs-on: ubuntu-latest
@@ -24,6 +29,6 @@ jobs:
2429
run: npm run build
2530

2631
- name: Publish to NPM
27-
run: npm publish --access public
32+
run: npm publish --access public --provenance
2833
env:
2934
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)