Skip to content

Commit

Permalink
chore: 로컬에 저장하지 않고 바로 pull request에 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
minsu-zip committed Aug 12, 2024
1 parent 8d6791c commit 40b1623
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ jobs:
run: |
pnpm i -g @lhci/cli
lhci autorun || echo "Fail to Run Lighthouse CI!"
ls -R lhci_reports # lhci_reports 디렉토리의 구조 출력
- name: Format lighthouse score
id: format_lighthouse_score
Expand Down
2 changes: 1 addition & 1 deletion .lighthouserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
staticDistDir: ".next", // 이 경로를 실제 빌드된 정적 파일이 위치한 경로로 변경하세요.
},
upload: {
target: "temporary-public-storage", // CI 환경에서 결과를 임시로 저장
target: "lhci-github", // GitHub PR의 코멘트로만 결과를 남깁니다.
},
},
}
8 changes: 0 additions & 8 deletions scripts/lhciFormat.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
const fs = require("fs")
const path = require("path")

const workspace = process.env.GITHUB_WORKSPACE

const results = JSON.parse(
fs.readFileSync(path.join(workspace, "lhci_reports", "manifest.json"))
)
const categories = [
"first-contentful-paint",
"interactive",
Expand Down

0 comments on commit 40b1623

Please sign in to comment.