Skip to content
This repository was archived by the owner on Jan 2, 2021. It is now read-only.

Commit

Permalink
chore: Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerlinsley committed Nov 13, 2020
1 parent e2b7527 commit 50039d7
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 50039d7

Please sign in to comment.