We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae130be commit 81b4353Copy full SHA for 81b4353
1 file changed
.github/workflows/release.yml
@@ -215,6 +215,9 @@ jobs:
215
name: Publish to npm
216
needs: [release]
217
runs-on: ubuntu-latest
218
+ permissions:
219
+ contents: read
220
+ id-token: write
221
steps:
222
- uses: actions/setup-node@v5
223
with:
@@ -232,12 +235,10 @@ jobs:
232
235
cd node
233
236
VERSION=$(node -p "require('./package.json').version")
234
237
if echo "$VERSION" | grep -qE '(alpha|beta|rc|dev)'; then
- npm publish --access public --tag beta
238
+ npm publish --access public --tag beta --provenance
239
else
- npm publish --access public
240
+ npm publish --access public --provenance
241
fi
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
242
243
publish-pypi:
244
name: Publish to PyPI
0 commit comments