Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch out grpc for @grpc/grpc-js + ts types #423

Merged
merged 2 commits into from
Feb 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 11 additions & 2 deletions .github/workflows/update_proto.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Update proto files
on:
schedule:
- cron: "0 0 1 * *"
- cron: '0 0 1 * *'

jobs:
update_proto:
Expand All @@ -22,5 +22,14 @@ jobs:
find lnd/lnrpc -name '*.proto' -exec bash -c 'test -e proto/`basename {}` && cp {} proto' \;
sed -i 's/^import.*\//import "/' proto/*
git add proto
git commit -m "Update proto files" || echo -n
- name: update generated types
run: |
bash grpc_gen_types.sh
npm run build
git add src/grpc/types dist
- name: commit changes
run: |
git config user.name 'Github Actions'
git config user.email [email protected]
git commit -m 'Update proto files and types' || echo -n
git push
2 changes: 1 addition & 1 deletion dist/src/controllers/invoices.js.map

Large diffs are not rendered by default.

18 changes: 12 additions & 6 deletions dist/src/controllers/queries.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/src/controllers/queries.js.map

Large diffs are not rendered by default.

58 changes: 29 additions & 29 deletions dist/src/grpc/greenlight.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/src/grpc/greenlight.js.map

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions dist/src/grpc/interfaces.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading