Skip to content

Commit c4c2e07

Browse files
committed
Make the generation use the yarn script
1 parent a253dd9 commit c4c2e07

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/automatic-api-update.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: "Called update for API change"
23
on:
34
repository_dispatch:
@@ -10,6 +11,9 @@ jobs:
1011
steps:
1112
- uses: actions/checkout@v4
1213
- uses: actions/setup-node@v4
14+
- uses: bahmutov/npm-install@v1
15+
with:
16+
useLockFile: false
1317
- name: "Update Buf Script"
1418
id: buf-update
1519
uses: authzed/actions/buf-api-update@main
@@ -29,7 +33,7 @@ jobs:
2933
if: steps.buf-update.outputs.updated == 'true'
3034
- name: "Run buf generate"
3135
if: steps.buf-update.outputs.updated == 'true'
32-
run: "buf generate"
36+
run: "yarn run buf"
3337
- name: Create Pull Request
3438
uses: peter-evans/create-pull-request@v7.0.6
3539
if: steps.buf-update.outputs.updated == 'true'

0 commit comments

Comments
 (0)