My lighthouse action is setting GitHub status, but no artifacts or performance details. Why? #512
Unanswered
MarkBennett
asked this question in
Q&A
Replies: 1 comment 8 replies
-
Hey @MarkBennett thanks for sharing :) The LHCI GitHub App sets the status on the pull request / commit level and isn't aware of GitHub actions specifically (it can be used with any CI provider). If you go to your pull request or commit details, do you see the LHCI "Details" link? It should look like the below. If you're interested in a GitHub Actions specific solution that stores the data as artifacts instead of the public storage. You can take a look at solutions from the community like https://github.com/treosh/lighthouse-ci-action |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! Thanks for this great tool!
I've followed the Getting Started Guide and created a GitHub Action workflow, along with authorizing and installing the GitHub App in my repository and setting the
LHCI_GITHUB_APP_TOKEN
in my project environment, but I'm not seeing any of the status details (performance numbers) or a link to the artifact in my build.As we're just starting out and our numbers aren't great, I'd like to focus on tracking these for now rather than adding an assertion and failing the build.
Here is my workflow file:
And here is my
lighthouserc.js
:This is what my projects environmet looks like:
Is anyone able to spot what's wrong? The Lighthouse job step looks good, and it's setting the GitHub status properly just without details or a link to the report. This is a typical run output.
This what my check looks like in the UI. Note the lack of details or the annotations.
Thank you so much in advance! 🍻
Beta Was this translation helpful? Give feedback.
All reactions