diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index c9345b0bd..010e0b234 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -15,17 +15,25 @@ jobs: outputs: releases_created: ${{ steps.release.outputs.releases_created }} steps: - - uses: google-github-actions/release-please-action@v4 - id: release + - uses: google-github-actions/release-please-action@v3 with: - # this assumes that you have created a personal access token (PAT) + command: manifest token: ${{ secrets.LEATHER_BOT }} - # optional. customize path to release-please-config.json - config-file: release-please-config.json - # optional. customize path to .release-please-manifest.json - manifest-file: .release-please-manifest.json - # Our target branch should be `dev` - target-branch: dev + default-branch: dev + + # TODO(leather-wallet/mono#133): get this back when release-please-action@4 gets an update for pnpm node workspaces. + # steps: + # - uses: google-github-actions/release-please-action@v4 + # id: release + # with: + # # this assumes that you have created a personal access token (PAT) + # token: ${{ secrets.LEATHER_BOT }} + # # optional. customize path to release-please-config.json + # config-file: release-please-config.json + # # optional. customize path to .release-please-manifest.json + # manifest-file: .release-please-manifest.json + # # Our target branch should be `dev` + # target-branch: dev # The logic below handles the npm publication: deploy: diff --git a/release-please-config.json b/release-please-config.json index f156497d7..57bdd0057 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -92,5 +92,10 @@ "draft": false, "prerelease": false } - } + }, + "plugins": [ + { + "type": "node-workspace" + } + ] }