File tree Expand file tree Collapse file tree 2 files changed +6
-12
lines changed Expand file tree Collapse file tree 2 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 11name : Release
22
33on :
4+ pull_request :
5+ branches :
6+ - main
7+
48 push :
59 branches :
610 - main
4246 - run : (yarn server &) && sleep 1 && yarn test:integration
4347
4448 - run : yarn build
49+
4550 - run : yarn semantic-release
51+ if : ${{ contains(github.ref, 'refs/heads/main') || contains(github.ref, 'refs/heads/beta') }}
4652 env :
4753 GH_TOKEN : ${{ secrets.GH_TOKEN }}
4854 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 108108 "name" : " beta" ,
109109 "prerelease" : true
110110 }
111- ],
112- "plugins" : [
113- " @semantic-release/commit-analyzer" ,
114- " @semantic-release/release-notes-generator" ,
115- " @semantic-release/npm" ,
116- [
117- " @semantic-release/exec" ,
118- {
119- "successCmd" : " yarn run publish:github"
120- }
121- ],
122- " @semantic-release/github"
123111 ]
124112 }
125113}
You can’t perform that action at this time.
0 commit comments