Skip to content

Commit

Permalink
update generate workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasIO committed Mar 6, 2024
1 parent 153a1f6 commit 4bcc38e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/generate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,20 @@ jobs:

- name: Go mod tidy
run: go mod tidy
working-directory: ./packages/golang

- name: Install generators
uses: magefile/mage-action@v3
with:
version: latest
args: bootstrap

- name: Bootstrap
run: mage bootstrap
working-directory: ./packages/golang

- name: Generate Protobuf
uses: magefile/mage-action@v3
with:
version: latest
args: proto
run: mage proto
working-directory: ./packages/golang

- uses: pnpm/action-setup@v2
with:
Expand All @@ -65,10 +67,10 @@ jobs:
run: pnpm install
- name: Generate JS files
run: |
pnpm generate:proto
pnpm --filter @livekit/protocol run generate:proto
- name: Add changes
uses: EndBug/add-and-commit@v9
with:
add: '["livekit", "rpc", "infra", "packages/js"]'
add: '["packages"]'
default_author: github_actions
message: generated protobuf
2 changes: 2 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
packages:
- "packages/javascript"

0 comments on commit 4bcc38e

Please sign in to comment.