Skip to content

Add more things to union-intersection case #53

Add more things to union-intersection case

Add more things to union-intersection case #53

Workflow file for this run

name: ci
on:
pull_request: {}
push:
branches: ["main"]
jobs:
tests:
runs-on: ubuntu-latest
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
deploy:
runs-on: ubuntu-latest
name: Deploy
needs: tests
if: github.ref == 'refs/heads/main'
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v4
with:
node-version: 21
cache: "npm"
- name: install
run: npm ci
- name: deploy
run: npm run deploy
env:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }}