File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 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 :
2325 run : yarn build
2426 - name : Release
2527 run : yarn release
28+ - name : Publish to npm
29+ run : npm publish --access public
Original file line number Diff line number Diff line change 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 ]
You can’t perform that action at this time.
0 commit comments