Skip to content

Commit

Permalink
Merge pull request #308 from superflyxxi/fix/publish-to-npm
Browse files Browse the repository at this point in the history
feat: publish to npm for master branch
  • Loading branch information
daniloab authored Apr 1, 2022
2 parents ed2ffc0 + 9529b27 commit 7141ec4
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ jobs:
- name: Run tests
run: yarn test

# publish:
# name: publish
# needs: tests
# runs-on: ubuntu-latest
# if: github.event_name == 'push' && github.ref == 'refs/heads/master'
# steps:
# - uses: actions/checkout@v2
# - name: Publish
# uses: mikeal/merge-release@master
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
publish:
name: publish
needs: tests
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v2
- name: Publish
uses: mikeal/merge-release@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

0 comments on commit 7141ec4

Please sign in to comment.