chore(deps): update getmeili/meilisearch docker tag to v1.5 #3273
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 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:2a4a773a097f79f673273d95637b72aa36f20bcc2f8892a01c3f7348f5ba3459 | |
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:6c96ccbac39e3df54ad8b644b711bf21676af298d044d3b599b2a7c6698143b5 | |
ports: | |
- 7687:7687 | |
env: | |
NEO4J_AUTH: ${{ env.NEO4J_USERNAME }}/${{ env.NEO4J_PASSWORD }} | |
redis: | |
image: redis:7.0@sha256:ea9704e2b67a3ff069c8bbad67f9310dc57be7735c2245a718fde95ab73eb6d7 | |
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 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" |