Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix formatLighthouseReport() CI #10527

Merged
merged 1 commit into from
Sep 27, 2024
Merged

Conversation

slorber
Copy link
Collaborator

@slorber slorber commented Sep 27, 2024

Motivation

Google won't store Lighthouse reports anymore (temporarily or definitively? πŸ€·β€β™‚οΈ ) leading to the links parameter being always empty {}.

I refactored the Markdown comment formatting function so that it can handle that case and temporarily fix the CI until we know more about Google plans

See:

Test Plan

CI

Test links

https://deploy-preview-10527--docusaurus-2.netlify.app/

@slorber slorber added the pr: internal This PR does not touch production code, or is not meaningful enough to be in the changelog. label Sep 27, 2024
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Sep 27, 2024
Copy link

netlify bot commented Sep 27, 2024

βœ… [V2]

Name Link
πŸ”¨ Latest commit 3eaa348
πŸ” Latest deploy log https://app.netlify.com/sites/docusaurus-2/deploys/66f691daf6cad5000831a1c9
😎 Deploy Preview https://deploy-preview-10527--docusaurus-2.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@slorber
Copy link
Collaborator Author

slorber commented Sep 27, 2024

Since it's pull_request_target job, we'll only know if it works after merging πŸ˜…

@slorber slorber merged commit 539412e into main Sep 27, 2024
13 of 14 checks passed
@slorber slorber deleted the slorber/fix-lighthouse-ci branch September 27, 2024 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: internal This PR does not touch production code, or is not meaningful enough to be in the changelog.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants