name: Publish on: create: tags: - v* jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: borales/actions-yarn@v2.0.0 with: cmd: install - uses: borales/actions-yarn@v2.0.0 with: cmd: build - uses: borales/actions-yarn@v2.0.0 "auth-token": ${{ secrets.NPM_AUTH_TOKEN }} with: cmd: publish