Skip to content

Commit da5d6f8

Browse files
committed
Revert "fix: remove --provenance flag from npm publish for internal repo"
This reverts commit 57667ba.
1 parent b6c0274 commit da5d6f8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ jobs:
88
publish-npm:
99
runs-on: ubuntu-latest
1010
permissions:
11+
id-token: write
1112
contents: read
1213
steps:
1314
- uses: actions/checkout@v6
@@ -16,5 +17,4 @@ jobs:
1617
node-version-file: .nvmrc
1718
registry-url: https://registry.npmjs.org/
1819
- run: npm install
19-
# TODO: Re-enable --provenance and id-token:write permission once the repo is public
20-
- run: npm publish --access public
20+
- run: npm publish --provenance --access public

0 commit comments

Comments
 (0)