-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Description
Describe the bug
I've been experimenting with running Lighthouse against my personal website using this action as a proof-of-concept, but the action consistently fails with the error shown below.
lighthouse-check: Auditing desktop (1/2): https://localhost:5001
lighthouse-check: Auditing mobile (2/2): https://localhost:5001
+--------------------------------------------------------------------------+
| Lighthouse Audit |
+--------------------------------------------------------------------------+
URL: https://localhost:5001
Device: desktop
lighthouse-check:
Error: Table must define at least one column.
at validateTableData (/home/runner/work/_actions/foo-software/lighthouse-check-action/v8.0.1/node_modules/table/dist/validateTableData.js:30:11)
at table (/home/runner/work/_actions/foo-software/lighthouse-check-action/v8.0.1/node_modules/table/dist/table.js:96:34)
at /home/runner/work/_actions/foo-software/lighthouse-check-action/v8.0.1/node_modules/@foo-software/lighthouse-check/dist/logResults.js:56:34
at Array.forEach (<anonymous>)
at _default (/home/runner/work/_actions/foo-software/lighthouse-check-action/v8.0.1/node_modules/@foo-software/lighthouse-check/dist/logResults.js:39:11)
at /home/runner/work/_actions/foo-software/lighthouse-check-action/v8.0.1/node_modules/@foo-software/lighthouse-check/dist/lighthouseCheck.js:[22](https://github.com/martincostello/website/runs/6728443395?check_suite_focus=true#step:5:23)3:[33](https://github.com/martincostello/website/runs/6728443395?check_suite_focus=true#step:5:34)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Error: Table must define at least one column.I wondered if it might be erroring due to some sort of facet of running against localhost on the GitHub Actions runner, but pointing it at my actual site had the same error.
To Reproduce
View the workflow added in this Pull Request: martincostello/website#1040
Expected behavior
The workflow renders the Lighthouse report and does not fail.
Metadata
Metadata
Assignees
Labels
No labels