diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 8696809..feba37d 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -158,6 +158,12 @@ jobs: run: | echo "@mintel:registry=https://${{ vars.REGISTRY_HOST || 'npm.infra.mintel.me' }}" > .npmrc echo "//${{ vars.REGISTRY_HOST || 'npm.infra.mintel.me' }}/:_authToken=${{ secrets.REGISTRY_PASS }}" >> .npmrc + - name: ๐Ÿ—๏ธ Compile Sibling Monorepo + run: | + cp .npmrc _at-mintel/ + cd _at-mintel + pnpm install + npx turbo run build - name: Install dependencies run: pnpm install --no-frozen-lockfile - name: ๐Ÿงช QA Checks diff --git a/Dockerfile b/Dockerfile index 128a87d..5f1aca3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,10 +25,12 @@ COPY _at-mintel* /at-mintel/ RUN --mount=type=cache,id=pnpm,target=/pnpm/store \ --mount=type=secret,id=NPM_TOKEN \ export NPM_TOKEN=$(cat /run/secrets/NPM_TOKEN 2>/dev/null || echo $NPM_TOKEN) && \ - echo "@mintel:registry=https://npm.infra.mintel.me" > .npmrc && \ - echo "//npm.infra.mintel.me/:_authToken=\${NPM_TOKEN}" >> .npmrc && \ - pnpm install --frozen-lockfile && \ - rm .npmrc + echo "@mintel:registry=https://npm.infra.mintel.me" > /at-mintel/.npmrc && \ + echo "//npm.infra.mintel.me/:_authToken=\${NPM_TOKEN}" >> /at-mintel/.npmrc && \ + cp /at-mintel/.npmrc .npmrc && \ + cd /at-mintel && pnpm install && npx turbo run build && \ + cd /app && pnpm install --no-frozen-lockfile && \ + rm /at-mintel/.npmrc .npmrc # Copy source code COPY . . diff --git a/apps/web/.turbo/turbo-lint.log b/apps/web/.turbo/turbo-lint.log index d7ac0de..5b39b63 100644 --- a/apps/web/.turbo/turbo-lint.log +++ b/apps/web/.turbo/turbo-lint.log @@ -35,7 +35,7 @@ 8:10 warning 'fileURLToPath' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars /Users/marcmintel/Projects/mintel.me/apps/web/scripts/check-og-images.ts - 19:15 warning 'body' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars + 19:11 warning 'body' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars /Users/marcmintel/Projects/mintel.me/apps/web/scripts/generate-thumbnail.ts 28:18 warning 'e' is defined but never used. Allowed unused caught errors must match /^_/u @typescript-eslint/no-unused-vars @@ -135,12 +135,12 @@ 248:18 warning 'err' is defined but never used. Allowed unused caught errors must match /^_/u @typescript-eslint/no-unused-vars /Users/marcmintel/Projects/mintel.me/apps/web/src/components/PayloadRichText.tsx - 180:31 warning 'node' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars - 183:26 warning 'node' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars - 184:34 warning 'node' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars - 189:27 warning 'node' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars - 194:29 warning 'node' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars - 199:32 warning 'node' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars + 177:31 warning 'node' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars + 180:26 warning 'node' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars + 181:34 warning 'node' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars + 186:27 warning 'node' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars + 191:29 warning 'node' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars + 196:32 warning 'node' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars /Users/marcmintel/Projects/mintel.me/apps/web/src/components/ShareModal.tsx 7:8 warning 'IconBlack' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars