diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 8a29e4340..df36006b0 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -1,6 +1,10 @@ name: Test & Publish on: + pull_request: + branches: + - master + push: branches: - master @@ -28,6 +32,7 @@ jobs: publish-npm: needs: test + if: github.event_name == 'push' runs-on: ubuntu-latest steps: - name: Checkout code with ADMIN_TOKEN