We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2eb6a1a commit a46b3f9Copy full SHA for a46b3f9
.github/workflows/prebuild.yml
@@ -67,6 +67,11 @@ jobs:
67
runs-on: ubuntu-latest
68
if: startsWith(github.ref, 'refs/tags/v')
69
70
+ # Required for npm OIDC trusted publishing
71
+ permissions:
72
+ contents: read
73
+ id-token: write
74
+
75
steps:
76
- uses: actions/checkout@v4
77
@@ -95,7 +100,7 @@ jobs:
95
100
- name: Build TypeScript
96
101
run: npm run build:ts
97
102
98
- - name: Publish to npm
99
- run: npm publish --access public
103
+ - name: Publish to npm with provenance
104
+ run: npm publish --access public --provenance
105
env:
106
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments