Skip to content

Update neo4j Docker tag to v5.23 #4645

Update neo4j Docker tag to v5.23

Update neo4j Docker tag to v5.23 #4645

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
merge_group:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
submodules: true
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version-file: .node-version
cache: npm
- run: npm ci --ignore-scripts
- run: npm run lint:eslint
- run: npm run lint:prettier
- run: npm run codegen
- run: npm run lint:graphql-schema-linter
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:ea40a028dd42740d6cff34135ff6b3119ff7ce0ed60120d992216456b5987fe7
ports:
- 5432:5432
env:
POSTGRES_USER: ${{ env.POSTGRES_USERNAME }}
POSTGRES_PASSWORD: ${{ env.POSTGRES_PASSWORD }}
POSTGRES_DB: ${{ env.POSTGRES_DATABASE }}
neo4j:
image: neo4j:5.19@sha256:8fb36e308579f44647166a39539c4676ad384702dade65fa1fd8206351767993
ports:
- 7687:7687
env:
NEO4J_AUTH: ${{ env.NEO4J_USERNAME }}/${{ env.NEO4J_PASSWORD }}
redis:
image: redis:7.2@sha256:66b2c641a6e16eeb188b64816f915a6313f15850d5dbea7c29736f59f9e5146c
ports:
- 6379:6379
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
submodules: true
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version-file: .node-version
cache: npm
- run: npm ci --ignore-scripts
- run: npm run prebuild
- 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"