fix(ci): fix TS2741 headerIcon prop in AgbsPDF, clean up debug breadcrumbs, split QA checks
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 6s
Build & Deploy / 🧪 QA (push) Successful in 1m54s
Build & Deploy / 🏗️ Build (push) Successful in 11m50s
Build & Deploy / 🚀 Deploy (push) Failing after 7s
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 6s
Build & Deploy / 🧪 QA (push) Successful in 1m54s
Build & Deploy / 🏗️ Build (push) Successful in 11m50s
Build & Deploy / 🚀 Deploy (push) Failing after 7s
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 1s
This commit is contained in:
@@ -154,16 +154,10 @@ jobs:
|
|||||||
version: 10
|
version: 10
|
||||||
- name: Provide sibling monorepo
|
- name: Provide sibling monorepo
|
||||||
run: |
|
run: |
|
||||||
git clone https://git.infra.mintel.me/mmintel/at-mintel.git _at-mintel 2>&1 || {
|
git clone https://git.infra.mintel.me/mmintel/at-mintel.git _at-mintel
|
||||||
curl -sf -X POST "${{ secrets.GOTIFY_URL }}/message?token=${{ secrets.GOTIFY_TOKEN }}" \
|
|
||||||
-F "title=❌ QA: git clone failed" -F "priority=8" -F "message=git clone at-mintel failed" || true
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
sed -i 's|../../../at-mintel|../../_at-mintel|g' apps/web/package.json
|
sed -i 's|../../../at-mintel|../../_at-mintel|g' apps/web/package.json
|
||||||
sed -i 's|../../../at-mintel|../../_at-mintel|g' apps/web/tsconfig.json
|
sed -i 's|../../../at-mintel|../../_at-mintel|g' apps/web/tsconfig.json
|
||||||
sed -i 's|../at-mintel|./_at-mintel|g' package.json
|
sed -i 's|../at-mintel|./_at-mintel|g' package.json
|
||||||
curl -sf -X POST "${{ secrets.GOTIFY_URL }}/message?token=${{ secrets.GOTIFY_TOKEN }}" \
|
|
||||||
-F "title=✅ QA: clone+sed done" -F "priority=2" -F "message=Sibling monorepo cloned and paths rewritten" || true
|
|
||||||
- name: 🔐 Registry Auth
|
- name: 🔐 Registry Auth
|
||||||
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
|
||||||
@@ -172,64 +166,21 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cp .npmrc _at-mintel/
|
cp .npmrc _at-mintel/
|
||||||
cd _at-mintel
|
cd _at-mintel
|
||||||
pnpm install --no-frozen-lockfile > /tmp/sibling-install.log 2>&1 || {
|
pnpm install --no-frozen-lockfile
|
||||||
TAIL=$(tail -n 30 /tmp/sibling-install.log)
|
pnpm build
|
||||||
curl -sf -X POST "${{ secrets.GOTIFY_URL }}/message?token=${{ secrets.GOTIFY_TOKEN }}" \
|
|
||||||
-F "title=❌ QA: sibling pnpm install failed" -F "priority=8" -F "message=$TAIL" || true
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
pnpm build > /tmp/sibling-build.log 2>&1 || {
|
|
||||||
TAIL=$(tail -n 30 /tmp/sibling-build.log)
|
|
||||||
curl -sf -X POST "${{ secrets.GOTIFY_URL }}/message?token=${{ secrets.GOTIFY_TOKEN }}" \
|
|
||||||
-F "title=❌ QA: sibling pnpm build failed" -F "priority=8" -F "message=$TAIL" || true
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
curl -sf -X POST "${{ secrets.GOTIFY_URL }}/message?token=${{ secrets.GOTIFY_TOKEN }}" \
|
|
||||||
-F "title=✅ QA: sibling compiled" -F "priority=2" -F "message=at-mintel install+build OK" || true
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pnpm store prune
|
pnpm store prune
|
||||||
pnpm install --no-frozen-lockfile > /tmp/main-install.log 2>&1 || {
|
pnpm install --no-frozen-lockfile
|
||||||
TAIL=$(tail -n 30 /tmp/main-install.log)
|
|
||||||
curl -sf -X POST "${{ secrets.GOTIFY_URL }}/message?token=${{ secrets.GOTIFY_TOKEN }}" \
|
|
||||||
-F "title=❌ QA: main pnpm install failed" -F "priority=8" -F "message=$TAIL" || true
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
curl -sf -X POST "${{ secrets.GOTIFY_URL }}/message?token=${{ secrets.GOTIFY_TOKEN }}" \
|
|
||||||
-F "title=✅ QA: deps installed" -F "priority=2" -F "message=Main project install OK" || true
|
|
||||||
- name: 🧹 Lint
|
- name: 🧹 Lint
|
||||||
if: github.event.inputs.skip_checks != 'true'
|
if: github.event.inputs.skip_checks != 'true'
|
||||||
run: |
|
run: pnpm --filter @mintel/web lint --max-warnings 999
|
||||||
pnpm --filter @mintel/web lint --max-warnings 999 > /tmp/lint.log 2>&1 || {
|
|
||||||
TAIL=$(tail -n 30 /tmp/lint.log)
|
|
||||||
curl -sf -X POST "${{ secrets.GOTIFY_URL }}/message?token=${{ secrets.GOTIFY_TOKEN }}" \
|
|
||||||
-F "title=❌ QA: lint failed" -F "priority=8" -F "message=$TAIL" || true
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
curl -sf -X POST "${{ secrets.GOTIFY_URL }}/message?token=${{ secrets.GOTIFY_TOKEN }}" \
|
|
||||||
-F "title=✅ QA: lint passed" -F "priority=2" -F "message=Lint OK" || true
|
|
||||||
- name: 🔍 Typecheck
|
- name: 🔍 Typecheck
|
||||||
if: github.event.inputs.skip_checks != 'true'
|
if: github.event.inputs.skip_checks != 'true'
|
||||||
run: |
|
run: pnpm --filter @mintel/web typecheck
|
||||||
pnpm --filter @mintel/web typecheck > /tmp/tsc.log 2>&1 || {
|
|
||||||
TAIL=$(tail -n 30 /tmp/tsc.log)
|
|
||||||
curl -sf -X POST "${{ secrets.GOTIFY_URL }}/message?token=${{ secrets.GOTIFY_TOKEN }}" \
|
|
||||||
-F "title=❌ QA: typecheck failed" -F "priority=8" -F "message=$TAIL" || true
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
curl -sf -X POST "${{ secrets.GOTIFY_URL }}/message?token=${{ secrets.GOTIFY_TOKEN }}" \
|
|
||||||
-F "title=✅ QA: typecheck passed" -F "priority=2" -F "message=TypeScript OK" || true
|
|
||||||
- name: 🧪 Test
|
- name: 🧪 Test
|
||||||
if: github.event.inputs.skip_checks != 'true'
|
if: github.event.inputs.skip_checks != 'true'
|
||||||
run: |
|
run: pnpm --filter @mintel/web test
|
||||||
pnpm --filter @mintel/web test > /tmp/test.log 2>&1 || {
|
|
||||||
TAIL=$(tail -n 30 /tmp/test.log)
|
|
||||||
curl -sf -X POST "${{ secrets.GOTIFY_URL }}/message?token=${{ secrets.GOTIFY_TOKEN }}" \
|
|
||||||
-F "title=❌ QA: test failed" -F "priority=8" -F "message=$TAIL" || true
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
curl -sf -X POST "${{ secrets.GOTIFY_URL }}/message?token=${{ secrets.GOTIFY_TOKEN }}" \
|
|
||||||
-F "title=✅ QA: ALL PASSED" -F "priority=2" -F "message=lint+typecheck+test all passed" || true
|
|
||||||
|
|
||||||
# ──────────────────────────────────────────────────────────────────────────────
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
# JOB 3: Build & Push
|
# JOB 3: Build & Push
|
||||||
|
|||||||
@@ -215,6 +215,7 @@ export const AgbsPDF = ({
|
|||||||
companyData={companyData}
|
companyData={companyData}
|
||||||
bankData={bankData}
|
bankData={bankData}
|
||||||
footerLogo={footerLogo}
|
footerLogo={footerLogo}
|
||||||
|
headerIcon={headerIcon}
|
||||||
showPageNumber={false}
|
showPageNumber={false}
|
||||||
>
|
>
|
||||||
{content}
|
{content}
|
||||||
|
|||||||
Reference in New Issue
Block a user