From 6daba8a4f4c821042e59272168292bcd0b37a901 Mon Sep 17 00:00:00 2001 From: qkrwoghd04 Date: Wed, 30 Jul 2025 14:17:02 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20contentDetail=20=ED=99=94=EB=A9=B4?= =?UTF-8?q?=EC=97=90=EC=84=9C=20header=20position=EC=9D=B4=20absolute?= =?UTF-8?q?=EB=A1=9C=20=EC=84=A4=EC=A0=95=EB=90=98=EC=96=B4=20=EC=9E=88?= =?UTF-8?q?=EC=96=B4,=20=EC=BD=98=ED=85=90=EC=B8=A0=20=EB=B8=94=EB=A1=9D?= =?UTF-8?q?=ED=95=98=EA=B3=A0=20=EA=B2=B9=EC=B9=98=EB=8D=98=20=EB=AC=B8?= =?UTF-8?q?=EC=A0=9C=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/E2ETest_Lighthouse.yml | 21 +++++---------------- index.html | 9 ++------- src/features/feedback/FeedbackSection.jsx | 2 +- src/features/setting/SettingSection.jsx | 4 ++-- src/layout/Header.jsx | 2 +- src/layout/MailHeader.jsx | 2 +- 6 files changed, 12 insertions(+), 28 deletions(-) diff --git a/.github/workflows/E2ETest_Lighthouse.yml b/.github/workflows/E2ETest_Lighthouse.yml index 14a4bba..3aba664 100644 --- a/.github/workflows/E2ETest_Lighthouse.yml +++ b/.github/workflows/E2ETest_Lighthouse.yml @@ -12,35 +12,27 @@ jobs: pull-requests: write steps: - # 1. 소스 체크아웃 - uses: actions/checkout@v4 - # 2. Node 설치 - uses: actions/setup-node@v4 with: node-version: 'lts/*' - # 3. 의존성 설치 - name: Install dependencies run: npm ci - # 4. Playwright 브라우저 설치 - name: Install Playwright Browsers run: npx playwright install --with-deps - # 5. 프로젝트 빌드 - name: Build project run: npm run build - # 6. Playwright 테스트 실행 (JSON 리포트 저장) - name: Run Playwright tests run: npx playwright test - # 7. Lighthouse CI 실행 (JSON 리포트 저장) - name: Run Lighthouse CI run: npx lhci autorun --config=./lighthouserc.json --output=json - # 8. Lighthouse 결과 파싱 - name: Parse Lighthouse Scores id: lighthouse run: | @@ -55,7 +47,6 @@ jobs: echo "$result" >> $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT - # 9. Playwright 결과 파싱 - name: Parse Playwright Results id: playwright run: | @@ -66,7 +57,6 @@ jobs: echo "failed=$failed" >> $GITHUB_OUTPUT echo "total=$total" >> $GITHUB_OUTPUT - # 10. PR 코멘트 작성 - name: Comment on PR uses: actions/github-script@v7 env: @@ -88,12 +78,12 @@ jobs: |---------------|--------| | **Tests** | | | Total | \`${total}\` | - | ✅ Passed | \`${passed}\` | - | ❌ Failed | \`${failed}\` | + | Passed | \`${passed}\` | + | Failed | \`${failed}\` | | **Lighthouse**| | - | 🚀 Performance | \`${lh.perf}\` | - | ♿ Accessibility| \`${lh.access}\` | - | 🔎 SEO | \`${lh.seo}\` | + | Performance | \`${lh.perf}\` | + | Accessibility| \`${lh.access}\` | + | SEO | \`${lh.seo}\` | | LCP | \`${lh.lcp.toFixed(2)}s\` | `; @@ -104,7 +94,6 @@ jobs: body: body }); - # 11. 리포트 아티팩트 업로드 (HTML 파일) - uses: actions/upload-artifact@v4 if: always() with: diff --git a/index.html b/index.html index 8e2db99..662217f 100644 --- a/index.html +++ b/index.html @@ -4,19 +4,14 @@ Haruhan - +