Skip to content

Commit 68a96db

Browse files
committed
dry run releases
1 parent aeb92c4 commit 68a96db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
name: 'Publish Module to NPM'
2929
needs: test
3030
# 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/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')
3232
runs-on: ubuntu-latest
3333
steps:
3434
- uses: actions/checkout@v2
@@ -39,7 +39,7 @@ jobs:
3939
- name: Install dependencies
4040
uses: bahmutov/npm-install@v1
4141
- run: yarn build
42-
- run: npx semantic-release@17
42+
- run: npx semantic-release@17 -d
4343
env:
4444
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
4545
GH_TOKEN: ${{secrets.GH_TOKEN}}

0 commit comments

Comments
 (0)