This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul role="tablist"> | |
<li role="none"> | |
<a href="#panel_1" | |
role="tab" | |
aria-selected="true/false" | |
aria-controls="panel_1"> | |
... | |
</a> | |
</li> | |
<!-- etc. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// [출처] express (https://github.com/expressjs/express) | |
/** | |
* @description 모듈을 내보낼 때 | |
* @see https://github.com/expressjs/express/blob/master/index.js#L11 | |
*/ | |
module.exports = require('./lib/express'); | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ci": { | |
"collect": { | |
"staticDistDir": "./build", | |
"url": ["http://localhost:3000"], | |
"numberOfRuns": 5 // 테스트 실행 횟수 (기본값 3) | |
}, | |
"upload": { | |
"target": "filesystem", | |
// 테스트 결과를 저장하는 폴더 경로 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run lighthouse CI When Pull Request | |
on: | |
pull_request: | |
branches: ['dev'] | |
paths: | |
- './frontend/**' | |
workflow_dispatch: | |
jobs: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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", |