Skip to content

Commit

Permalink
introducing main
Browse files Browse the repository at this point in the history
Signed-off-by: Yash Khare <[email protected]>
  • Loading branch information
khareyash05 committed Dec 17, 2024
1 parent cf8edf8 commit d4471b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ jobs:
lhci autorun --config=lighthouserc.json --collect.url="http://localhost:3000" --collect.startServerCommand="npm run start" --upload.outputDir="./lhci-reports/app"
- name: run Lighthouse CI for Keploy.io Deployed Website
run: |
git checkout main
npm install -g @lhci/[email protected]
lhci autorun --config=lighthouserc.json --collect.url="https://www.keploy.io" --upload.outputDir="./lhci-reports/keploy.io"
lhci autorun --config=lighthouserc.json --collect.url="http://localhost:3000" --collect.startServerCommand="npm run start" --upload.outputDir="./lhci-reports/main"
- name: Compare Lighthouse Reports
run: |
node compare-lhci-reports.js
2 changes: 1 addition & 1 deletion compare-lhci-reports.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function loadReport(path) {
}

const appReportDirectory = './lhci-reports/app';
const keployReportDirectory = './lhci-reports/keploy.io';
const keployReportDirectory = './lhci-reports/main';

const appReportPath = findReportFile(appReportDirectory);
const keployReportPath = findReportFile(keployReportDirectory);
Expand Down

0 comments on commit d4471b7

Please sign in to comment.