name: release-please on: push: branches: - main jobs: release-please: runs-on: ubuntu-latest steps: - uses: google-github-actions/release-please-action@v3 id: release with: release-type: node package-name: formhero - uses: actions/checkout@v3 if: ${{ steps.release.outputs.release_created }} - uses: ./.github/actions/build if: ${{ steps.release.outputs.release_created }} - run: pnpm publish if: ${{ steps.release.outputs.release_created }} env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}