diff --git a/.github/workflows/release-please.yml b/.github/workflows/publish.yml similarity index 52% rename from .github/workflows/release-please.yml rename to .github/workflows/publish.yml index 1398444..d5d6808 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/publish.yml @@ -1,30 +1,13 @@ +name: Publish + on: push: - branches: - - main - -permissions: - contents: write - pull-requests: write - -name: release-please + tags: + - 'v*' jobs: - release-please: - runs-on: ubuntu-latest - steps: - - uses: google-github-actions/release-please-action@v3 - id: release - with: - release-type: node - package-name: release-please-action - outputs: - release-created: ${{ steps.release.outputs.release_created }} - publish: runs-on: ubuntu-latest - needs: release-please - if: ${{ needs.release-please.outputs.release-created }} steps: - uses: actions/checkout@v3 - uses: pnpm/action-setup@v2