Skip to content

Commit 10db19a

Browse files
committed
Merge remote-tracking branch 'github/1237-correct-default-schema' into 1237-correct-default-schema
2 parents 9a12b61 + 36b01d0 commit 10db19a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/npm.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
types: [published]
55
permissions:
66
contents: read
7+
id-token: write
78

89
jobs:
910
build:
@@ -30,10 +31,10 @@ jobs:
3031
VERSION=$(node -p "require('./package.json').version")
3132
if [[ "$VERSION" == *"-"* ]]; then
3233
echo "Publishing pre-release: $VERSION"
33-
npm publish --access=public --tag rc
34+
npm publish --provenance --access=public --tag rc
3435
else
3536
echo "Publishing stable release: $VERSION"
36-
npm publish --access=public
37+
npm publish --provenance --access=public
3738
fi
3839
env:
3940
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)