...

Text file src/github.com/99designs/gqlgen/.github/workflows/check-federation

Documentation: github.com/99designs/gqlgen/.github/workflows

     1#!/bin/bash
     2
     3set -euo pipefail
     4export GO111MODULE=on
     5cd _examples/federation
     6
     7./start.sh &
     8
     9sleep 5
    10curl -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
    18sleep 1
    19
    20echo "### running jest integration spec"
    21export NODE_OPTIONS="--experimental-vm-modules"
    22npx jest --color
    23

View as plain text