We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1d546c commit 6477333Copy full SHA for 6477333
.github/workflows/publish.yml
@@ -14,6 +14,7 @@ jobs:
14
environment: npm
15
env:
16
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
17
+ NPM_CONFIG_PROVENANCE: ${{ github.event.repository.private && 'false' || 'true' }}
18
permissions:
19
contents: read
20
id-token: write
@@ -41,6 +42,6 @@ jobs:
41
42
43
- name: Publish with token fallback
44
if: ${{ env.NPM_TOKEN != '' }}
- run: npm publish --provenance --access public
45
+ run: npm publish --access public
46
47
NODE_AUTH_TOKEN: ${{ env.NPM_TOKEN }}
0 commit comments