Skip to content

DXP-320 Replace Prisma with Drizzle #1528

DXP-320 Replace Prisma with Drizzle

DXP-320 Replace Prisma with Drizzle #1528

Workflow file for this run

name: ci
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x, 23.x]
steps:
- uses: actions/checkout@v4
- name: Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: |
npm install --ignore-scripts
- name: Docker start
run: |
docker compose up -d --quiet-pull
- name: Build TS
run: |
node --run build
- name: Schema preparation
run: |
node --run copy:config
node --run db:wait
npm run db:apply-migrations
- name: Run Tests
run: |
node --run test:ci
- name: Run lint
run: |
node --run lint
- name: DB stop
run: |
docker compose down
- name: Generate and validate OpenAPI schema
run: |
node --run spec:generate
automerge:
needs: build
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- uses: fastify/github-action-merge-dependabot@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}