Skip to content

feat: display schema types and fields in a styled box for improved view #1514

feat: display schema types and fields in a styled box for improved view

feat: display schema types and fields in a styled box for improved view #1514

Workflow file for this run

name: Quality
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test-e2e:
runs-on: ubuntu-latest
strategy:
matrix:
adapter: ["sqlite", "proxy"]
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-project
- name: Install puppeteer
run: npm i -g puppeteer@21.6.0
- name: Set up Adapter
run: echo "ADAPTER_TYPE=${{ matrix.adapter }}" >> $GITHUB_ENV
- name: Run E2E tests
run: |
cd ./e2e
pnpm run test
env:
SKIP_MODAL: "true"
ADAPTER_TYPE: ${{ env.ADAPTER_TYPE }}
test-e2e-docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-project
- name: Set up Docker
run: |
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
- name: Build Docker Image
run: docker build . -t graphql-debugger -f docker/Dockerfile
- name: Run Docker Image
run: docker run --name graphql-debugger -p 16686:16686 -p 4318:4318 -v $(pwd)/packages/data-access/prisma/dev.db:/usr/src/app/packages/data-access/prisma/dev.db -d graphql-debugger
- name: Install puppeteer
run: npm i -g puppeteer@21.6.0
- name: graphql-debugger/e2e
run: cd ./e2e && pnpm run test
env:
SKIP_MODAL: "true"
E2E_IN_DOCKER: "true"
test-collector-proxy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-project
- name: graphql-debugger/collector-proxy
run: cd ./apps/collector-proxy && pnpm run test
test-opentelemetry:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-project
- name: graphql-debugger/opentelemetry
run: cd ./packages/opentelemetry && pnpm run test
test-time:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-project
- name: graphql-debugger/time
run: cd ./packages/time && pnpm run test
test-trace-directive:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-project
- name: graphql-debugger/trace-directive
run: cd ./packages/trace-directive && pnpm run test
test-trace-schema:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-project
- name: graphql-debugger/trace-schema
run: cd ./packages/trace-schema && pnpm run test
unit-testing-ui:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-project
- name: graphql-debugger/ui
run: cd ./apps/ui && pnpm run test
test-client:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-project
- name: graphql-debugger/trace-client
run: cd ./packages/client && pnpm run test
test-plugin-express:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-project
- name: graphql-debugger/plugin-express
run: cd ./plugins/express && pnpm run test
test-plugin-yoga:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-project
- name: graphql-debugger/plugin-yoga
run: cd ./plugins/yoga && pnpm run test
test-plugin-apollo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-project
- name: graphql-debugger/plugin-apollo
run: cd ./plugins/apollo && pnpm run test
test-adapter-base:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-project
- name: graphql-debugger/adapter-base
run: cd ./packages/adapters/base && pnpm run test
test-adapter-sqlite:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-project
- name: graphql-debugger/adapter-sqlite
run: cd ./packages/adapters/sqlite && pnpm run test
test-adapter-proxy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-project
- name: graphql-debugger/adapter-proxy
run: cd ./packages/adapters/proxy && pnpm run test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-project
- name: Lint source
run: pnpm lint