Skip to content

Instantly share code, notes, and snippets.

@iyu88
Created November 17, 2022 11:05
Show Gist options
  • Save iyu88/050ae60d4dc217dd7b92020fc8b8c0ef to your computer and use it in GitHub Desktop.
Save iyu88/050ae60d4dc217dd7b92020fc8b8c0ef to your computer and use it in GitHub Desktop.
Example of 'lighthouse-report-formatter' usage
- name: Format lighthouse score
id: format_lighthouse_score
uses: iyu88/lighthouse-report-formatter@v1.0.0
with:
# 디렉토리 루트를 기준으로 '.lighthouserc.json' 파일이 있는 위치를 명시합니다.
lh_directory: ./frontend/
# lighthouse 실행 결과를 보여주는 파일들이 저장되는 폴더 이름 (outputDir) 을 명시합니다.
# .lighthouserc.json 예시
# "upload": {
# "target": "filesystem",
# "outputDir": "./lhci_reports",
# "reportFilenamePattern": "%%PATHNAME%%-%%DATETIME%%-report.%%EXTENSION%%"
# },
mainfest_path: lhci_reports
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment