File tree Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -3,14 +3,14 @@ name: react-query tests
3
3
on :
4
4
push :
5
5
branches :
6
- - " master"
7
- - " next"
8
- - " 1.x"
6
+ - ' master'
7
+ - ' next'
8
+ - ' 1.x'
9
9
pull_request :
10
10
11
11
jobs :
12
12
test :
13
- name : " Node ${{ matrix.node }}"
13
+ name : ' Node ${{ matrix.node }}'
14
14
runs-on : ubuntu-latest
15
15
strategy :
16
16
matrix :
@@ -25,10 +25,10 @@ jobs:
25
25
- run : yarn test:ci
26
26
27
27
publish-module :
28
- name : " Publish Module to NPM"
28
+ name : ' Publish Module to NPM'
29
29
needs : test
30
30
# publish only when merged in master on original repo, not on PR
31
- if : github.repository == 'tannerlinsley/react-query' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/next ' || github.ref == 'refs/heads/1.x')
31
+ if : github.repository == 'tannerlinsley/react-query' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/beta ' || github.ref == 'refs/heads/1.x')
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 35
35
"branches" : [
36
36
" 1.x" ,
37
37
" master" ,
38
- {
39
- "name" : " next" ,
40
- "prerelease" : true
41
- }
38
+ " beta"
42
39
]
43
40
},
44
41
"files" : [
You can’t perform that action at this time.
0 commit comments