File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: react-charts publish
2
2
on :
3
3
push :
4
4
branches :
5
- - ' next '
5
+ - ' main '
6
6
- ' beta'
7
7
pull_request :
8
8
28
28
publish-module :
29
29
name : ' Publish Module to NPM'
30
30
# needs: test
31
- if : github.ref == 'refs/heads/next ' || github.ref == 'refs/heads/beta' # publish only when merged in master, not on PR
31
+ if : github.ref == 'refs/heads/main ' || github.ref == 'refs/heads/beta' # publish only when merged in master, not on PR
32
32
runs-on : ubuntu-latest
33
33
steps :
34
34
- uses : actions/checkout@v2
Original file line number Diff line number Diff line change 31
31
"peerDependencies" : {
32
32
"react" : " >=16"
33
33
},
34
+ "release" : {
35
+ "branches" : [
36
+ " +([0-9])?(.{+([0-9]),x}).x" ,
37
+ " main" ,
38
+ " next" ,
39
+ " next-major" ,
40
+ {
41
+ "name" : " beta" ,
42
+ "prerelease" : true
43
+ },
44
+ {
45
+ "name" : " alpha" ,
46
+ "prerelease" : true
47
+ }
48
+ ]
49
+ },
34
50
"husky" : {
35
51
"hooks" : {
36
52
"pre-commit" : " tsdx lint"
You can’t perform that action at this time.
0 commit comments