fix: build shared packages and use the mapped CI database port
Tests / Go backend (push) Failing after 1m3s
Tests / Dashboard checks (push) Successful in 1m7s
Docker / Docker Build & Push (push) Successful in 5m15s

This commit is contained in:
Gabriel20xx committed 2026-10-21 07:28:32 +00:00
1 parent 62db511c7b
commit b4e9651529
2 files changed
+4 -3

No files matched your search

+2 -1
View File
@@ -8,7 +8,7 @@ COPY shared/package.json shared/package-lock.json /shared/
COPY shared/packages/design-tokens/package.json /shared/packages/design-tokens/
COPY shared/packages/node-backend/package.json /shared/packages/node-backend/
COPY shared/packages/web-ui/package.json /shared/packages/web-ui/
RUN npm ci --prefix /shared --ignore-scripts --no-audit --no-fund --omit=dev
RUN npm ci --prefix /shared --ignore-scripts --no-audit --no-fund
RUN --mount=type=cache,target=/root/.npm \
for attempt in 1 2 3 4 5; do \
npm ci && break; \
@@ -20,6 +20,7 @@ RUN --mount=type=cache,target=/root/.npm \
COPY shared/packages/design-tokens /shared/packages/design-tokens
COPY shared/packages/node-backend /shared/packages/node-backend
COPY shared/packages/web-ui /shared/packages/web-ui
RUN npm run build --prefix /shared
COPY frontend/ ./
RUN rm -rf /frontend/node_modules/@gabriel20xx/web-ui && \
ln -s /shared/packages/web-ui /frontend/node_modules/@gabriel20xx/web-ui