Skip to content

Commit ca46959

Browse files
authored
ci: publish with provenance (#86)
New versions will be published with [provenance](https://docs.npmjs.com/generating-provenance-statements).
1 parent f271acc commit ca46959

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
release_please:
1111
runs-on: ubuntu-latest
1212
permissions:
13+
id-token: write
1314
contents: write
1415
pull-requests: write
1516
steps:
@@ -117,7 +118,7 @@ jobs:
117118
118119
echo "Publishing @supabase/ssr now..."
119120
120-
npm publish --tag "$DIST_TAG"
121+
npm publish --provenance --tag "$DIST_TAG"
121122
122123
- name: Create GitHub release and branches
123124
if: ${{ steps.release.outputs.release_created == 'true' || steps.release.outputs.prs_created == 'true' }}

0 commit comments

Comments
 (0)