-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Yash Khare <[email protected]>
- Loading branch information
1 parent
19dda7a
commit 61bdbde
Showing
1 changed file
with
15 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,11 +20,23 @@ jobs: | |
- name: run Lighthouse CI for the Application | ||
run: | | ||
npm install -g @lhci/[email protected] | ||
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/[email protected] | ||
lhci autorun --config=lighthouserckeploy.json || echo "LHCI failed!" | ||
lhci autorun --config=lighthouserckeploy.json | ||
- name: Compare Lighthouse Reports | ||
run: | | ||
node scripts/compare-lhci-reports.js | ||
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/ |