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

feat: Add promise support #47

Merged
merged 13 commits into from
Nov 1, 2022
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/authzed-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: CI=true yarn lint
working-directory: ./
- name: Run Yarn tests
run: CI=true yarn only-run-tests
run: CI=true yarn test
mgagliardo91 marked this conversation as resolved.
Show resolved Hide resolved
working-directory: ./
publish-npm:
name: Publish to NPM
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
with:
working-directory: ./js-dist
- name: Run Yarn tests
run: CI=true yarn only-run-tests
run: CI=true yarn test
working-directory: ./js-dist
- uses: actions/upload-artifact@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env -S buf generate buf.build/authzed/api:418c57bfce56bc4fb44870bbbc84217d14cc0c9f --template
#!/usr/bin/env -S buf generate buf.build/authzed/api:97e6f8e5f9669b673a53a40658241609fb1a94e3 --template
# To regenerate:
# npm install -g grpc-tools
# ./buf.gen.yaml
Expand Down
10 changes: 10 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
services:
zed-testserver:
mgagliardo91 marked this conversation as resolved.
Show resolved Hide resolved
image: quay.io/authzed/spicedb:latest
ports: ['50051:50051']
command: serve-testing
healthcheck:
test: ["CMD", "/usr/local/bin/grpc_health_probe", "-addr=:50051"]
interval: 30s
timeout: 30s
retries: 3
5 changes: 0 additions & 5 deletions js-dist/jasmine.json
Original file line number Diff line number Diff line change
@@ -1,5 +0,0 @@
{
mgagliardo91 marked this conversation as resolved.
Show resolved Hide resolved
"spec_dir": "src",
"spec_files": ["*.test.js"],
"helpers": []
}
358 changes: 182 additions & 176 deletions js-dist/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js-dist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
"grpc-tools": "^1.11.2",
"jasmine": "^3.6.4"
}
}
}
66 changes: 64 additions & 2 deletions js-dist/src/authzedapi/authzed/api/v1/core.js

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

2 changes: 1 addition & 1 deletion js-dist/src/authzedapi/authzed/api/v1/core.js.map

Large diffs are not rendered by default.

Loading