fix(ci): perfectly orchestrate dynamic monorepo compile sequence prior to test and deploy
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 7s
Build & Deploy / 🧪 QA (push) Failing after 33s
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
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 7s
Build & Deploy / 🧪 QA (push) Failing after 33s
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:
@@ -158,6 +158,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "@mintel:registry=https://${{ vars.REGISTRY_HOST || 'npm.infra.mintel.me' }}" > .npmrc
|
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
|
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
|
- name: Install dependencies
|
||||||
run: pnpm install --no-frozen-lockfile
|
run: pnpm install --no-frozen-lockfile
|
||||||
- name: 🧪 QA Checks
|
- name: 🧪 QA Checks
|
||||||
|
|||||||
10
Dockerfile
10
Dockerfile
@@ -25,10 +25,12 @@ COPY _at-mintel* /at-mintel/
|
|||||||
RUN --mount=type=cache,id=pnpm,target=/pnpm/store \
|
RUN --mount=type=cache,id=pnpm,target=/pnpm/store \
|
||||||
--mount=type=secret,id=NPM_TOKEN \
|
--mount=type=secret,id=NPM_TOKEN \
|
||||||
export NPM_TOKEN=$(cat /run/secrets/NPM_TOKEN 2>/dev/null || echo $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 "@mintel:registry=https://npm.infra.mintel.me" > /at-mintel/.npmrc && \
|
||||||
echo "//npm.infra.mintel.me/:_authToken=\${NPM_TOKEN}" >> .npmrc && \
|
echo "//npm.infra.mintel.me/:_authToken=\${NPM_TOKEN}" >> /at-mintel/.npmrc && \
|
||||||
pnpm install --frozen-lockfile && \
|
cp /at-mintel/.npmrc .npmrc && \
|
||||||
rm .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 source code
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
[2m8:10[22m [33mwarning[39m 'fileURLToPath' is defined but never used. Allowed unused vars must match /^_/u [2m@typescript-eslint/no-unused-vars[22m
|
[2m8:10[22m [33mwarning[39m 'fileURLToPath' is defined but never used. Allowed unused vars must match /^_/u [2m@typescript-eslint/no-unused-vars[22m
|
||||||
|
|
||||||
[4m/Users/marcmintel/Projects/mintel.me/apps/web/scripts/check-og-images.ts[24m
|
[4m/Users/marcmintel/Projects/mintel.me/apps/web/scripts/check-og-images.ts[24m
|
||||||
[2m19:15[22m [33mwarning[39m 'body' is assigned a value but never used. Allowed unused vars must match /^_/u [2m@typescript-eslint/no-unused-vars[22m
|
[2m19:11[22m [33mwarning[39m 'body' is assigned a value but never used. Allowed unused vars must match /^_/u [2m@typescript-eslint/no-unused-vars[22m
|
||||||
|
|
||||||
[4m/Users/marcmintel/Projects/mintel.me/apps/web/scripts/generate-thumbnail.ts[24m
|
[4m/Users/marcmintel/Projects/mintel.me/apps/web/scripts/generate-thumbnail.ts[24m
|
||||||
[2m28:18[22m [33mwarning[39m 'e' is defined but never used. Allowed unused caught errors must match /^_/u [2m@typescript-eslint/no-unused-vars[22m
|
[2m28:18[22m [33mwarning[39m 'e' is defined but never used. Allowed unused caught errors must match /^_/u [2m@typescript-eslint/no-unused-vars[22m
|
||||||
@@ -135,12 +135,12 @@
|
|||||||
[2m248:18[22m [33mwarning[39m 'err' is defined but never used. Allowed unused caught errors must match /^_/u [2m@typescript-eslint/no-unused-vars[22m
|
[2m248:18[22m [33mwarning[39m 'err' is defined but never used. Allowed unused caught errors must match /^_/u [2m@typescript-eslint/no-unused-vars[22m
|
||||||
|
|
||||||
[4m/Users/marcmintel/Projects/mintel.me/apps/web/src/components/PayloadRichText.tsx[24m
|
[4m/Users/marcmintel/Projects/mintel.me/apps/web/src/components/PayloadRichText.tsx[24m
|
||||||
[2m180:31[22m [33mwarning[39m 'node' is defined but never used. Allowed unused args must match /^_/u [2m@typescript-eslint/no-unused-vars[22m
|
[2m177:31[22m [33mwarning[39m 'node' is defined but never used. Allowed unused args must match /^_/u [2m@typescript-eslint/no-unused-vars[22m
|
||||||
[2m183:26[22m [33mwarning[39m 'node' is defined but never used. Allowed unused args must match /^_/u [2m@typescript-eslint/no-unused-vars[22m
|
[2m180:26[22m [33mwarning[39m 'node' is defined but never used. Allowed unused args must match /^_/u [2m@typescript-eslint/no-unused-vars[22m
|
||||||
[2m184:34[22m [33mwarning[39m 'node' is defined but never used. Allowed unused args must match /^_/u [2m@typescript-eslint/no-unused-vars[22m
|
[2m181:34[22m [33mwarning[39m 'node' is defined but never used. Allowed unused args must match /^_/u [2m@typescript-eslint/no-unused-vars[22m
|
||||||
[2m189:27[22m [33mwarning[39m 'node' is defined but never used. Allowed unused args must match /^_/u [2m@typescript-eslint/no-unused-vars[22m
|
[2m186:27[22m [33mwarning[39m 'node' is defined but never used. Allowed unused args must match /^_/u [2m@typescript-eslint/no-unused-vars[22m
|
||||||
[2m194:29[22m [33mwarning[39m 'node' is defined but never used. Allowed unused args must match /^_/u [2m@typescript-eslint/no-unused-vars[22m
|
[2m191:29[22m [33mwarning[39m 'node' is defined but never used. Allowed unused args must match /^_/u [2m@typescript-eslint/no-unused-vars[22m
|
||||||
[2m199:32[22m [33mwarning[39m 'node' is defined but never used. Allowed unused args must match /^_/u [2m@typescript-eslint/no-unused-vars[22m
|
[2m196:32[22m [33mwarning[39m 'node' is defined but never used. Allowed unused args must match /^_/u [2m@typescript-eslint/no-unused-vars[22m
|
||||||
|
|
||||||
[4m/Users/marcmintel/Projects/mintel.me/apps/web/src/components/ShareModal.tsx[24m
|
[4m/Users/marcmintel/Projects/mintel.me/apps/web/src/components/ShareModal.tsx[24m
|
||||||
[2m7:8[22m [33mwarning[39m 'IconBlack' is defined but never used. Allowed unused vars must match /^_/u [2m@typescript-eslint/no-unused-vars[22m
|
[2m7:8[22m [33mwarning[39m 'IconBlack' is defined but never used. Allowed unused vars must match /^_/u [2m@typescript-eslint/no-unused-vars[22m
|
||||||
|
|||||||
Reference in New Issue
Block a user