File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7+ - beta
78 pull_request :
89
910jobs :
4445
4546 publish :
4647 # publish only when merged in master on original repo, not on PR
47- if : github.repository == 'DamianOsipiuk/vue-query' && github.ref == 'refs/heads/main'
48+ if : github.repository == 'DamianOsipiuk/vue-query' && ( github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta')
4849 needs : [verify, commitlint]
4950 runs-on : ubuntu-latest
5051
5758 registry-url : https://registry.npmjs.org/
5859 - run : npm ci
5960 - run : npm run build
60- - run : npx semantic-release@17 --branches main
61+ - run : npx semantic-release@17
6162 env :
6263 NODE_AUTH_TOKEN : ${{secrets.NPM_AUTOMATION_TOKEN}}
6364 GH_TOKEN : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change 1+ {
2+ "branches" : [
3+ " main" ,
4+ { "name" : " beta" , "prerelease" : true },
5+ { "name" : " alpha" , "prerelease" : true }
6+ ]
7+ }
You can’t perform that action at this time.
0 commit comments