Skip to content

Run gateway in watch mode #9

Run gateway in watch mode

Run gateway in watch mode #9

Workflow file for this run

name: ci
on:
pull_request: {}
push:
branches: ["main"]
jobs:
tests:
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: setup node
uses: actions/setup-node@v4
with:
node-version: 21
cache: "npm"
- name: install
run: npm ci
- name: subgraphs
run: |
npm run dev &
npx wait-on http-get://localhost:4200/_health --timeout 5s --verbose
- name: gateway
run: |
npm run gateway:once &
npx wait-on http-get://localhost:4000/_health --timeout 5s --verbose
- name: test
run: npm run test-all