Skip to content

Commit

Permalink
ci: push to master branch when releasing gRPC client to npm (#782)
Browse files Browse the repository at this point in the history
  • Loading branch information
zepatrik committed Oct 28, 2021
1 parent 0caccb9 commit 2674abd
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/npm_publish_grpc_client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
RELEASE_VERSION: ${{ github.event.inputs.version || github.ref }}
- uses: EndBug/add-and-commit@v7
with:
branch: master
add: package.json
author_name: zepatrik
author_email: zepatrik@users.noreply.github.com
Expand Down
5 changes: 5 additions & 0 deletions proto/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import * as v1apha1 from './ory/keto/acl/v1alpha1'

declare module '@ory/keto-grpc-client' {
export default v1apha1
}
23 changes: 23 additions & 0 deletions proto/ory/keto/acl/v1alpha1/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import * as acl from './acl_pb'
import * as write from './write_service_pb'
import * as writeService from './write_service_grpc_pb'
import * as check from './check_service_pb'
import * as checkService from './check_service_grpc_pb'
import * as expand from './expand_service_pb'
import * as expandService from './expand_service_grpc_pb'
import * as read from './read_service_pb'
import * as readService from './read_service_grpc_pb'

declare module '@ory/keto-grpc-client/ory/keto/acl/v1alpha1' {
export {
acl,
write,
writeService,
check,
checkService,
expand,
expandService,
read,
readService
}
}

0 comments on commit 2674abd

Please sign in to comment.