diff --git a/.github/workflows/test-and-publish.yml b/.github/workflows/test-and-publish.yml index 9087582d48..8330a52bac 100644 --- a/.github/workflows/test-and-publish.yml +++ b/.github/workflows/test-and-publish.yml @@ -29,7 +29,7 @@ jobs: publish-module: name: 'Publish Module to NPM' needs: test - if: github.ref == 'refs/heads/master' #publish only when merged in master, not on PR + if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/next' #publish only when merged in master, not on PR runs-on: ubuntu-latest steps: - uses: actions/checkout@v2