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.
2 parents b198b31 + 96b5c78 commit 910510fCopy full SHA for 910510f
.github/workflows/npm.yml
@@ -4,6 +4,7 @@ on:
4
types: [published]
5
permissions:
6
contents: read
7
+ id-token: write
8
9
jobs:
10
build:
@@ -30,10 +31,10 @@ jobs:
30
31
VERSION=$(node -p "require('./package.json').version")
32
if [[ "$VERSION" == *"-"* ]]; then
33
echo "Publishing pre-release: $VERSION"
- npm publish --access=public --tag rc
34
+ npm publish --provenance --access=public --tag rc
35
else
36
echo "Publishing stable release: $VERSION"
- npm publish --access=public
37
+ npm publish --provenance --access=public
38
fi
39
env:
40
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments