chore(deps): update dependency @graphql-tools/executor-http to v1.0.4… #3420
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
merge_group: | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4 | |
with: | |
node-version-file: .node-version | |
cache: npm | |
- run: npm ci | |
- run: npm run lint:prettier | |
- run: npm run lint:eslint:report | |
- name: Annotate ESLint results | |
uses: ataylorme/eslint-annotate-action@v2 | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
report-json: ".eslint-report.json" | |
- run: npm run codegen | |
- run: npm run lint:graphql-schema-linter:report | |
typecheck: | |
name: Type Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4 | |
with: | |
node-version-file: .node-version | |
cache: npm | |
- run: npm ci | |
- run: npm run codegen | |
- run: npm run prisma:client | |
- run: npm run generate:buf | |
- run: npm run typecheck | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
env: | |
POSTGRES_USERNAME: user | |
POSTGRES_PASSWORD: pass | |
POSTGRES_DATABASE: test | |
NEO4J_URL: bolt://localhost:7687 | |
NEO4J_USERNAME: neo4j | |
NEO4J_PASSWORD: password | |
services: | |
postgres: | |
image: postgres:15@sha256:da76f1e3d9a1728600f062ba02d8e46b9c521012e87d402ce03e38ef0389979f | |
ports: | |
- 5432:5432 | |
env: | |
POSTGRES_USER: ${{ env.POSTGRES_USERNAME }} | |
POSTGRES_PASSWORD: ${{ env.POSTGRES_PASSWORD }} | |
POSTGRES_DB: ${{ env.POSTGRES_DATABASE }} | |
neo4j: | |
image: neo4j:5.13@sha256:6c6003e890c75c9136df06b9061afbbf9a70673711d2d9abc5937ca7f01abb16 | |
ports: | |
- 7687:7687 | |
env: | |
NEO4J_AUTH: ${{ env.NEO4J_USERNAME }}/${{ env.NEO4J_PASSWORD }} | |
redis: | |
image: redis:7.0@sha256:ac54e1e4c288cb02d414f9c7579f6aa3db8cfd003e72bdc42dd273d61a290630 | |
ports: | |
- 6379:6379 | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4 | |
with: | |
node-version-file: .node-version | |
cache: npm | |
- run: npm ci | |
- run: npm run codegen | |
- run: npm run prisma:client | |
- run: npm run generate:buf | |
- run: npm run test | |
env: | |
PRISMA_DATABASE_URL: postgres://${{ env.POSTGRES_USERNAME }}:${{ env.POSTGRES_PASSWORD }}@localhost:5432/${{ env.POSTGRES_DATABASE }} | |
NEO4J_URL: ${{ env.NEO4J_URL }} | |
NEO4J_USERNAME: ${{ env.NEO4J_USERNAME }} | |
NEO4J_PASSWORD: ${{ env.NEO4J_PASSWORD }} | |
REDIS_URL: "redis://localhost:6379" |