From 50039d76e5a0cc1d3f25598caf8910f5ecf011fa Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Fri, 13 Nov 2020 16:46:13 -0700 Subject: [PATCH] chore: Update publish.yml --- .github/workflows/publish.yml | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) 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