github.com/99designs/gqlgen@v0.17.45/.github/workflows/check-federation (about) 1 #!/bin/bash 2 3 set -euo pipefail 4 export GO111MODULE=on 5 cd _examples/federation 6 7 ./start.sh & 8 9 sleep 5 10 curl -s --connect-timeout 5 \ 11 --max-time 10 \ 12 --retry 5 \ 13 --retry-delay 5 \ 14 --retry-max-time 40 \ 15 --retry-connrefused \ 16 localhost:4003 > /dev/null 17 18 sleep 1 19 20 echo "### running jest integration spec" 21 export NODE_OPTIONS="--experimental-vm-modules" 22 npx jest --color 23