generate prisma before building
Some checks failed
ci / test (push) Failing after 3m54s
fp/our CI/CD / build (push) Failing after 20m50s

This commit is contained in:
CJ_Clippy 2025-09-30 23:11:39 -08:00
parent 07e68cb37b
commit c9618a4be6
2 changed files with 5 additions and 3 deletions

View File

@ -63,10 +63,12 @@ RUN \
COPY package.json package-lock.json prisma ./ COPY package.json package-lock.json prisma ./
RUN --mount=type=cache,target=/root/.npm npm install --ignore-scripts=false --foreground-scripts --verbose RUN --mount=type=cache,target=/root/.npm npm install --ignore-scripts=false --foreground-scripts --verbose
RUN --mount=type=cache,target=/root/.npm \ RUN --mount=type=cache,target=/root/.npm \
--mount=type=cache,target=/app/node_modules \ --mount=type=cache,target=/app/node_modules \
npm install --ignore-scripts=false --foreground-scripts --verbose && \ npx prisma generate && \
npx prisma generate npm install --ignore-scripts=false --foreground-scripts --verbose
# Copy the rest of the app code # Copy the rest of the app code

View File

@ -1,7 +1,7 @@
{ {
"name": "futureporn-our", "name": "futureporn-our",
"private": true, "private": true,
"version": "2.8.29", "version": "2.8.30",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "concurrently npm:dev:serve npm:dev:build:server npm:dev:build:client npm:dev:worker npm:dev:compose npm:dev:sftp npm:dev:qbittorrent npm:dev:tailscale", "dev": "concurrently npm:dev:serve npm:dev:build:server npm:dev:build:client npm:dev:worker npm:dev:compose npm:dev:sftp npm:dev:qbittorrent npm:dev:tailscale",