Skip to content

Commit c4de77b

Browse files
committed
fix: update release workflow
1 parent 11752c6 commit c4de77b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ name: Release
33
on:
44
release:
55
types: [published]
6+
workflow_dispatch:
67

78
permissions:
9+
contents: write
810
id-token: write # Required for OIDC NPM publish
9-
contents: read
1011

1112
jobs:
1213
release:
@@ -25,4 +26,4 @@ jobs:
2526
- run: npm ci
2627
- run: npm run build
2728
- run: npm test
28-
- run: npm publish --access public
29+
- run: NODE_AUTH_TOKEN="" npm publish --access public

0 commit comments

Comments
 (0)