From b2cd26af30c3d1f87262a4e2e8608108b6914991 Mon Sep 17 00:00:00 2001 From: Jackson Roberts Date: Fri, 10 Apr 2026 03:44:33 +0000 Subject: [PATCH] fix(release): unblock deploy workflow image build and desktop rebuild --- .github/workflows/deploy.yaml | 6 ++++-- api/Dockerfile | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 430b4be..508472f 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -231,9 +231,10 @@ jobs: run: bun install --frozen-lockfile - name: Rebuild native modules - run: npm rebuild + run: npm rebuild --ignore-scripts env: HUSKY: "0" + HUSKY_SKIP_INSTALL: "1" - name: Build macOS distributables run: bun run make:macos @@ -272,9 +273,10 @@ jobs: run: bun install --frozen-lockfile - name: Rebuild native modules - run: npm rebuild + run: npm rebuild --ignore-scripts env: HUSKY: "0" + HUSKY_SKIP_INSTALL: "1" - name: Build Windows distributables run: bun run make -- --platform win32 diff --git a/api/Dockerfile b/api/Dockerfile index 40c3183..041d9cb 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -91,7 +91,7 @@ COPY --from=build /app/dalpuri/generated/ ./dalpuri/generated/ COPY --from=deps /app/node_modules/ ./node_modules/ # Ensure pdfmake Roboto fonts are present at runtime for PDF generation. -COPY --from=build /app/node_modules/pdfmake/build/fonts/ ./node_modules/pdfmake/build/fonts/ +COPY --from=build /app/api/node_modules/pdfmake/build/fonts/ ./node_modules/pdfmake/build/fonts/ ENV NODE_ENV=production