fix(ci): fix dockerfile monorepo copy path to align with deploy.yml links
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 12s
Build & Deploy / 🏗️ Build (push) Successful in 15m4s
Build & Deploy / 🚀 Deploy (push) Successful in 16s
Build & Deploy / 🧪 QA (push) Successful in 1m38s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 2m31s
Build & Deploy / 🔔 Notify (push) Successful in 2s
Nightly QA / 🔗 Links & Deps (push) Successful in 4m36s
Nightly QA / 🔍 Static Analysis (push) Successful in 5m15s
Nightly QA / 🎭 Lighthouse (push) Successful in 5m14s
Nightly QA / 📝 E2E (push) Successful in 5m32s
Nightly QA / 🔔 Notify (push) Has been skipped
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 12s
Build & Deploy / 🏗️ Build (push) Successful in 15m4s
Build & Deploy / 🚀 Deploy (push) Successful in 16s
Build & Deploy / 🧪 QA (push) Successful in 1m38s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 2m31s
Build & Deploy / 🔔 Notify (push) Successful in 2s
Nightly QA / 🔗 Links & Deps (push) Successful in 4m36s
Nightly QA / 🔍 Static Analysis (push) Successful in 5m15s
Nightly QA / 🎭 Lighthouse (push) Successful in 5m14s
Nightly QA / 📝 E2E (push) Successful in 5m32s
Nightly QA / 🔔 Notify (push) Has been skipped
This commit is contained in:
@@ -19,8 +19,8 @@ ENV CI=true
|
|||||||
COPY pnpm-lock.yaml pnpm-workspace.yaml package.json .npmrc* ./
|
COPY pnpm-lock.yaml pnpm-workspace.yaml package.json .npmrc* ./
|
||||||
COPY apps/web/package.json ./apps/web/package.json
|
COPY apps/web/package.json ./apps/web/package.json
|
||||||
# Copy sibling monorepo for linked dependencies (cloned during CI)
|
# Copy sibling monorepo for linked dependencies (cloned during CI)
|
||||||
# Placing it at root to match the ../../../at-mintel/ links in package.json
|
# Placing it inside /app so relative links like ../../_at-mintel resolve correctly!
|
||||||
COPY _at-mintel* /at-mintel/
|
COPY _at-mintel* /app/_at-mintel/
|
||||||
|
|
||||||
|
|
||||||
# Install dependencies with cache mount and dynamic .npmrc (High Fidelity pattern)
|
# Install dependencies with cache mount and dynamic .npmrc (High Fidelity pattern)
|
||||||
@@ -30,7 +30,7 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store \
|
|||||||
echo "@mintel:registry=https://npm.infra.mintel.me" > .npmrc && \
|
echo "@mintel:registry=https://npm.infra.mintel.me" > .npmrc && \
|
||||||
echo "//npm.infra.mintel.me/:_authToken=\"\${NPM_TOKEN}\"" >> .npmrc && \
|
echo "//npm.infra.mintel.me/:_authToken=\"\${NPM_TOKEN}\"" >> .npmrc && \
|
||||||
echo "always-auth=true" >> .npmrc && \
|
echo "always-auth=true" >> .npmrc && \
|
||||||
cd /at-mintel && pnpm install --no-frozen-lockfile && pnpm build && \
|
cd /app/_at-mintel && pnpm install --no-frozen-lockfile && pnpm build && \
|
||||||
cd /app && pnpm install --no-frozen-lockfile && \
|
cd /app && pnpm install --no-frozen-lockfile && \
|
||||||
rm .npmrc
|
rm .npmrc
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user