Skip to content

Commit 8706bb4

Browse files
committed
ci: restore OIDC publish
1 parent f495509 commit 8706bb4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.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
@@ -49,7 +50,7 @@ jobs:
4950
if: steps.version_check.outputs.changed == 'true'
5051
run: |
5152
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
52-
npm publish --access public
53+
npm publish --provenance --access public
5354
env:
5455
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5556

0 commit comments

Comments
 (0)