Skip to content

Commit cb9997c

Browse files
Fix trusted publishing flow
1 parent ad16a13 commit cb9997c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/package-publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,16 @@ jobs:
4646
node-version: 24
4747
registry-url: https://registry.npmjs.org/
4848

49-
- name: Install Node dependencies
49+
- name: Install Node
50+
run: npm install -g npm@latest
51+
52+
- name: Add node dependencies
5053
run: npm ci
5154

5255
- name: Run build
5356
run: npm run build --if-present
5457

55-
- run: npm publish
58+
- run: npm publish --provenance --access public
5659

5760
- name: Send Slack Notification
5861
uses: 8398a7/action-slack@v3

0 commit comments

Comments
 (0)