0xb4lamx [EU]
09/05/2024, 4:09 PMjobs:
test:
runs-on: ubuntu-latest
container: node:18 #container
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up SpiceDB
uses: authzed/action-spicedb@v1
with:
version: 'v1.35.3'
- name: Run tests
run: npm test # localhost:50051 is not reachable here
=> unable to reach localhost:50051
nor spicedb:50051
not sure what hostname is applied? 🤔
Otherwise, it works with localhost
when running jobs on the runner machine.
//I was trying to use :
services:
spicedb:
image: 'authzed/spicedb:v1.35.3'
ports:
- 50051:50051
but due to Github Action [limitation](https://github.com/actions/runner/discussions/1872), seems command
is not supported yet to custom run serve-testing
Any thoughts ?
thanks.