diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b969e3a..aca3766 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,11 @@ jobs: - name: Install deps run: npm install + - name: Run tests + run: npm test + - name: Release + if: ${{ success() }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: npx semantic-release