Skip to content

Commit ed1eafc

Browse files
authored
Generate provenance for published packages (#1364)
1 parent 2dd3da0 commit ed1eafc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ permissions:
1010
jobs:
1111
publish:
1212
runs-on: ubuntu-latest
13+
permissions:
14+
id-token: write
1315
steps:
1416
- uses: actions/checkout@v5
1517
- uses: actions/setup-node@v4
@@ -21,6 +23,6 @@ jobs:
2123
run: |
2224
yarn install
2325
yarn build
24-
- run: yarn workspaces foreach -Avv --no-private npm publish
26+
- run: yarn workspaces foreach -Avv --no-private npm publish --provenance --tolerate-republish
2527
env:
2628
YARN_NPM_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}

0 commit comments

Comments
 (0)