Skip to content

Commit 94f8a0f

Browse files
committed
fix: publish
1 parent c6cc5f7 commit 94f8a0f

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ jobs:
1010
publish:
1111
runs-on: ubuntu-latest
1212
permissions:
13-
id-token: write
14-
contents: write
13+
contents: write # to be able to publish a GitHub release
14+
issues: write # to be able to comment on released issues
15+
pull-requests: write # to be able to comment on released pull requests
16+
id-token: write # to enable use of OIDC for trusted publishing and npm provenance
1517
env:
1618
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1719
steps:
@@ -23,3 +25,5 @@ jobs:
2325
run: yarn build
2426
- name: Release
2527
run: yarn release
28+
- name: Publish to npm
29+
run: npm publish --access public

.releaserc.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"plugins": [
1111
"@semantic-release/commit-analyzer",
1212
"@semantic-release/release-notes-generator",
13-
"@semantic-release/npm",
1413
"@semantic-release/github",
1514
"@semantic-release/git"
1615
]

0 commit comments

Comments
 (0)