diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 29c3587..4fd0f30 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,31 +3,13 @@ on: push: branches: - 'master' + - 'beta' pull_request: jobs: - # test: - # name: 'node ${{ matrix.node }} ${{ matrix.os }} ' - # runs-on: '${{ matrix.os }}' - # strategy: - # matrix: - # os: [ubuntu-latest] - # node: [12] - # steps: - # - uses: actions/setup-node@v1 - # with: - # node-version: ${{ matrix.node }} - # - uses: actions/checkout@v2 - # with: - # fetch-depth: 1 - # - run: npm i -g yarn - # - run: yarn --frozen-lockfile - # - run: yarn test:ci - 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/beta' runs-on: ubuntu-latest steps: - uses: actions/checkout@v2