Make CI step conditional

pull/194/head
Maciej Winnicki 2019-09-13 21:34:33 +02:00
parent 7ff68040c3
commit 1357793a28
No known key found for this signature in database
GPG Key ID: D0B924AEC4BE0E44
1 changed files with 1 additions and 4 deletions

View File

@ -18,12 +18,9 @@ jobs:
uses: actions/npm@master
with:
args: test
- name: Tag
uses: actions/bin/filter@master
with:
args: tag
- name: Publish
uses: actions/npm@master
if: startsWith(github.event.ref, 'refs/tags')
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
with: