Skip to content

Commit 1098a7d

Browse files
rwvDinnerbone
authored andcommitted
chore: generate provenance statements for nightly npm package
See Also: https://docs.npmjs.com/generating-provenance-statements#about-npm-provenance
1 parent 6d2644e commit 1098a7d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release_nightly.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,9 @@ jobs:
309309
needs: create-nightly-release
310310
if: needs.create-nightly-release.outputs.is_active == 'true'
311311
runs-on: ubuntu-22.04
312+
permissions:
313+
contents: read
314+
id-token: write
312315
strategy:
313316
matrix:
314317
demo: [false, true]
@@ -393,7 +396,7 @@ jobs:
393396
- name: Publish npm package
394397
if: ${{ !matrix.demo }}
395398
# npm scoped packages are private by default, explicitly make public
396-
run: npm publish --access public
399+
run: npm publish --access public --provenance
397400
continue-on-error: true
398401
working-directory: web/packages/selfhosted/dist
399402
env:

0 commit comments

Comments
 (0)