Skip to content

Commit 15cc614

Browse files
committed
ci: enable provenance statement generation
- express-rate-limit/express-rate-limit#406
1 parent 66224e1 commit 15cc614

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ jobs:
4747
needs: [lint, test-library]
4848
if: startsWith(github.ref, 'refs/tags/v')
4949
runs-on: ubuntu-latest
50+
permissions:
51+
id-token: write
5052
steps:
5153
- name: Checkout the repository
5254
uses: actions/checkout@v3
@@ -57,7 +59,7 @@ jobs:
5759
- name: Install dependencies
5860
run: npm ci
5961
- name: Publish package to NPM
60-
run: npm publish
62+
run: npm publish --provenance
6163
env:
6264
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6365
- name: Build package to upload to GitHub releases

0 commit comments

Comments
 (0)