Skip to content

Commit 76ab38a

Browse files
committed
Publish the package using npm provenance
1 parent 12e9233 commit 76ab38a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/deploy.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ jobs:
1010
runs-on: ubuntu-latest
1111
container:
1212
image: node:18
13+
permissions:
14+
contents: write
15+
id-token: write
1316
steps:
1417
- name: Checkout
1518
uses: actions/checkout@v4
@@ -22,7 +25,7 @@ jobs:
2225
- name: Publish
2326
run: |
2427
yarn install --frozen-lockfile --ignore-scripts --prefer-offline
25-
npm publish
28+
npm publish --provenance
2629
env:
2730
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2831
- name: Build Changelog

0 commit comments

Comments
 (0)