diff --git a/.github/workflows/node-build-and-test.yml b/.github/workflows/node-build-and-test.yml index a9a2346..2807291 100644 --- a/.github/workflows/node-build-and-test.yml +++ b/.github/workflows/node-build-and-test.yml @@ -124,7 +124,9 @@ jobs: fi if [ "${{ inputs.test-typesense-enabled }}" == "true" ]; then echo "typesense-image=${{ inputs.test-typesense-image }}" >> "$GITHUB_OUTPUT" - echo "typesense-health=curl http://127.0.0.1:8108/health" >> "$GITHUB_OUTPUT" + echo "typesense-health=apt-get update && \ + apt-get install -y curl && \ + curl http://127.0.0.1:8108/health" >> "$GITHUB_OUTPUT" else echo "typesense-image=nginx:stable-alpine-slim" >> "$GITHUB_OUTPUT" echo "typesense-health=exit 0" >> "$GITHUB_OUTPUT"