diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0334209..02f4858 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,6 +2,7 @@ on: push: branches: - main + - develop jobs: build: runs-on: ubuntu-latest @@ -16,5 +17,6 @@ jobs: - run: npm ci - run: npm test - uses: JS-DevTools/npm-publish@v3 + if: github.ref == 'refs/heads/main' with: token: ${{ secrets.NPM_TOKEN }}