Skip to content

Commit 176e77d

Browse files
committed
fix: Update release-please
1 parent 75b71f7 commit 176e77d

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/release-please.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,34 +5,34 @@ on:
55

66
permissions:
77
contents: write
8+
issues: write
89
pull-requests: write
910

1011
name: Run Release Please
1112
jobs:
1213
release-please:
1314
runs-on: ubuntu-latest
1415
steps:
15-
- uses: google-github-actions/release-please-action@v4
16+
- uses: googleapis/release-please-action@v4
1617
id: release
1718
with:
1819
token: ${{secrets.GITHUB_TOKEN}}
19-
default-branch: main
20-
20+
release-type: node
2121
# The logic below handles the npm publication:
2222
- name: Checkout Repository
2323
uses: actions/checkout@v4
24-
if: ${{ steps.release.outputs.releases_created }}
24+
if: ${{ steps.release.outputs.release_created }}
2525
- name: Install pnpm
2626
uses: pnpm/action-setup@v4
27-
if: ${{ steps.release.outputs.releases_created }}
27+
if: ${{ steps.release.outputs.release_created }}
2828
- name: Setup Node
2929
uses: actions/setup-node@v4
30-
if: ${{ steps.release.outputs.releases_created }}
30+
if: ${{ steps.release.outputs.release_created }}
3131
with:
3232
node-version: 20
3333
registry-url: "https://registry.npmjs.org"
3434
- name: Build Packages
35-
if: ${{ steps.release.outputs.releases_created }}
35+
if: ${{ steps.release.outputs.release_created }}
3636
run: |
3737
pnpm install
3838
pnpm build
@@ -41,7 +41,7 @@ jobs:
4141
# need to publish all unpublished versions to NPM here
4242
# See: https://github.com/lerna/lerna/tree/main/commands/publish#bump-from-package
4343
- name: Publish to NPM
44-
if: ${{ steps.release.outputs.releases_created }}
44+
if: ${{ steps.release.outputs.release_created }}
4545
env:
4646
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
4747
run: npx lerna publish from-package --no-push --no-private --no-verify-access --yes

0 commit comments

Comments
 (0)