Skip to content

Commit

Permalink
remove latest run file
Browse files Browse the repository at this point in the history
  • Loading branch information
khareyash05 committed Dec 16, 2024
1 parent cc58229 commit f5d1644
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 10 deletions.
30 changes: 22 additions & 8 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,30 @@ jobs:
- name: List Application Reports
run: |
pwd
ls -la /home/runner/work/website/website/lhci-reports/app/latest-run/
ls
echo "Listing Application Reports"
cd lhci-reports
ls
echo "Listing Application Reports1223"
cd app
ls
echo "Listing Application Report343"
cd ..
cd keploy.io
ls
echo "Listing Application Report78"
cd ..
cd ..
ls -la ./lhci-reports/app
- name: List Keploy.io Reports
run: ls -la /home/runner/work/website/website/lhci-reports/keploy.io/latest-run/
# - name: Compare Lighthouse Reports
# run: |
# pwd
# ls
# echo "Comparing Lighthouse Reports"
# node compare-lhci-reports.js
run: ls -la ./lhci-reports/keploy.io/
- name: Compare Lighthouse Reports
run: |
pwd
ls
echo "Comparing Lighthouse Reports"
node compare-lhci-reports.js
# - name: Upload Lighthouse Reports
# uses: actions/upload-artifact@v3
# with:
Expand Down
4 changes: 2 additions & 2 deletions compare-lhci-reports.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ function loadReport(path) {
return JSON.parse(data);
}

const appReportPath = './lhci-reports/app/latest-run/report.json';
const keployReportPath = './lhci-reports/keploy.io/latest-run/report.json';
const appReportPath = './lhci-reports/app/report.json';
const keployReportPath = './lhci-reports/keploy.io/report.json';

const appReport = loadReport(appReportPath);
const keployReport = loadReport(keployReportPath);
Expand Down

0 comments on commit f5d1644

Please sign in to comment.