diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 6f342afa..5c84bc70 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -1,3 +1,5 @@ +name: release-please + on: push: branches: @@ -7,8 +9,6 @@ permissions: contents: write pull-requests: write -name: release-please - jobs: release-please: runs-on: ubuntu-latest diff --git a/.github/workflows/build.yml b/.github/workflows/release.yml similarity index 88% rename from .github/workflows/build.yml rename to .github/workflows/release.yml index a5946fbf..fe8bd557 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/release.yml @@ -43,6 +43,11 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} branch: ${{ github.ref }} + - name: Publish package + run: | + pnpm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }} + publish + - name: Log if: ${{ steps.commit.outcome != 'success' }} run: echo Nothing to commit.