Skip to content

Commit c8b1c77

Browse files
committed
chore(github/workflow): correct access
1 parent f8989b4 commit c8b1c77

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/publish-npm.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121

2222
permissions:
2323
contents: read
24+
id-token: write
2425

2526
steps:
2627
- name: ⤵️ Checkout repository
@@ -53,8 +54,10 @@ jobs:
5354

5455
- name: 🏗 Build
5556
run: yarn build
57+
env:
58+
NODE_ENV: production
5659

5760
- name: 🚀 Publish
58-
run: yarn run publish --yes
61+
run: npm publish --provenance --access public
5962
env:
6063
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)