Skip to content

Commit 0e1bb92

Browse files
committed
add publishing capabilities for alpha branch
1 parent bb1443c commit 0e1bb92

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/test-and-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- 'master'
77
- 'next'
8+
- 'alpha'
89
- 'beta'
910
- '1.x'
1011
- '2.x'
@@ -36,7 +37,7 @@ jobs:
3637
name: 'Publish Module to NPM'
3738
needs: test
3839
# publish only when merged in master on original repo, not on PR
39-
if: github.repository == 'tannerlinsley/react-query' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/next' || github.ref == 'refs/heads/beta' || github.ref == 'refs/heads/1.x' || github.ref == 'refs/heads/2.x')
40+
if: github.repository == 'tannerlinsley/react-query' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/next' || github.ref == 'refs/heads/alpha' || github.ref == 'refs/heads/beta' || github.ref == 'refs/heads/1.x' || github.ref == 'refs/heads/2.x')
4041
runs-on: ubuntu-latest
4142
steps:
4243
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)