name: Release on: push: branches: - master jobs: release: name: release runs-on: ubuntu-latest strategy: matrix: node-version: [12.18.4] steps: - name: Install dependencies run: npm install && npm prune - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: semantic-release