fix(ci): provide sibling at-mintel monorepo for typecheck and docker build
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 6s
Build & Deploy / 🧪 QA (push) Failing after 59s
Build & Deploy / 🏗️ Build (push) Has been skipped
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 1s

This commit is contained in:
2026-03-01 00:59:23 +01:00
parent a537294832
commit a360ea6a98
2 changed files with 5 additions and 7 deletions

View File

@@ -149,14 +149,8 @@ jobs:
uses: pnpm/action-setup@v3
with:
version: 10
- name: Checkout at-mintel (for linked dependencies)
uses: actions/checkout@v4
with:
repository: mmintel/at-mintel
path: _at-mintel
token: ${{ secrets.GITHUB_TOKEN }}
- name: Provide sibling monorepo
run: cp -a $GITHUB_WORKSPACE/_at-mintel ../at-mintel
run: git clone https://git.infra.mintel.me/mmintel/at-mintel.git ../at-mintel
- name: 🔐 Registry Auth
run: |
echo "@mintel:registry=https://${{ vars.REGISTRY_HOST || 'npm.infra.mintel.me' }}" > .npmrc
@@ -183,6 +177,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Provide sibling monorepo (context)
run: git clone https://git.infra.mintel.me/mmintel/at-mintel.git _at-mintel
- name: 🐳 Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: 🔐 Registry Login

View File

@@ -18,6 +18,8 @@ ENV CI=true
# Copy manifest files specifically for better layer caching
COPY pnpm-lock.yaml pnpm-workspace.yaml package.json .npmrc* ./
COPY apps/web/package.json ./apps/web/package.json
# Copy sibling monorepo for linked dependencies (cloned during CI)
COPY _at-mintel* /at-mintel/
# Install dependencies with cache mount and dynamic .npmrc (High Fidelity pattern)
RUN --mount=type=cache,id=pnpm,target=/pnpm/store \