From 61bdbde08c1a8f9378bf2ffcb0f0cd089cd575eb Mon Sep 17 00:00:00 2001 From: Yash Khare Date: Mon, 16 Dec 2024 17:18:19 +0530 Subject: [PATCH] check the path of peipleine Signed-off-by: Yash Khare --- .github/workflows/lighthouse.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lighthouse.yml b/.github/workflows/lighthouse.yml index e7f3f19..02094e1 100644 --- a/.github/workflows/lighthouse.yml +++ b/.github/workflows/lighthouse.yml @@ -20,11 +20,23 @@ jobs: - name: run Lighthouse CI for the Application run: | npm install -g @lhci/cli@0.14.x - lhci autorun --config=lighthouserc.json || echo "LHCI failed!" + lhci autorun --config=lighthouserc.json - name: run Lighthouse CI for Keploy.io Deployed Website run: | npm install -g @lhci/cli@0.14.x - lhci autorun --config=lighthouserckeploy.json || echo "LHCI failed!" + lhci autorun --config=lighthouserckeploy.json - name: Compare Lighthouse Reports run: | - node scripts/compare-lhci-reports.js \ No newline at end of file + node scripts/compare-lhci-reports.js + - name: Upload Lighthouse Reports + uses: actions/upload-artifact@v3 + with: + name: lhci-reports + path: ./lhci-reports + # After running LHCI for the Application + - name: List Application Reports + run: ls -la ./lhci-reports/app/latest-run/ + + # After running LHCI for Keploy.io + - name: List Keploy.io Reports + run: ls -la ./lhci-reports/keploy.io/latest-run/ \ No newline at end of file