Add API integration test suite with Postgres and ClickHouse coverage

This commit is contained in:
Mike Cao committed 2026-09-06 16:42:53 -07:00
1 parent 950ae63f87
commit e18769e8cf
59 files changed
+8971 -28

No files matched your search

+6
View File
@@ -19,7 +19,10 @@ RUN pnpm install --frozen-lockfile
# Rebuild the source code only when needed
FROM node:${NODE_IMAGE_VERSION} AS builder
ARG PNPM_VERSION
WORKDIR /app
# build-openapi shells out to pnpm, so the builder stage needs it too
RUN npm install -g pnpm@${PNPM_VERSION}
COPY --from=deps /app/node_modules ./node_modules
COPY . .
COPY docker/proxy.ts ./src
@@ -30,6 +33,9 @@ ENV BASE_PATH=$BASE_PATH
ENV NEXT_TELEMETRY_DISABLED=1
ENV DATABASE_URL="postgresql://user:pass@localhost:5432/dummy"
ARG SKIP_BUILD_GEO
ENV SKIP_BUILD_GEO=$SKIP_BUILD_GEO
RUN npm run build-docker
# Production image, copy all the files and run next