Skip to content

Commit c85bb34

Browse files
committed
Merge branch '1150-vitest-migration-from-service' of https://github.com/jescalada/git-proxy into 1150-vitest-migration-from-service
2 parents f7be67c + 33117d0 commit c85bb34

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)