Skip to content

Commit 86bf858

Browse files
committed
ci: restore OIDC publish
1 parent 3095eda commit 86bf858

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
permissions:
1515
contents: write
16+
id-token: write
1617

1718
steps:
1819
- name: Checkout
@@ -46,7 +47,7 @@ jobs:
4647
if: steps.version_check.outputs.changed == 'true'
4748
run: |
4849
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
49-
npm publish --access public
50+
npm publish --provenance --access public
5051
env:
5152
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5253

0 commit comments

Comments
 (0)