-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[CI] Lighthouse updates #1632
Comments
Update April 25 2022 To use the Custom app method for authentication, I added a custom app to our store. Next steps Add From this: ...
with:
app_id: ${{ secrets.SHOP_APP_ID }}
app_password: ${{ secrets.SHOP_APP_PASSWORD }}
store: ${{ secrets.SHOP_STORE }}
password: ${{ secrets.SHOP_PASSWORD }}
lhci_github_app_token: ${{ secrets.LHCI_GITHUB_TOKEN }} To this: ...
with:
store: ${{ secrets.SHOP_STORE }}
password: ${{ secrets.SHOP_PASSWORD }}
access_token: ${{ secrets.SHOP_ACCESS_TOKEN }}
lhci_github_app_token: ${{ secrets.LHCI_GITHUB_TOKEN }} |
Update I coordinated with Tyler to get the new I'll have to do some more digging but I wanted to quickly point out that we might've been getting skewed Lighthouse scores using the deprecated authentication method (how it is currently): This was an action run from a recent commit:
Here’s an action run using the new Custom app authentication method:
|
Update I ran 2 more tests, pushing 2 separate commits:
The os2-demo accessibility report shows why it’s failing:
|
Update - May 16 2022 Adding some notes. I'm hoping this will also help establish a Lighthouse CI standard for our other themes, not just Dawn. Our current Lighthouse CI runs proposed changes against the Navigation / Header Running the Lighthouse CI on
Lighthouse CI / When we do update the
We can also look into Apps to see if any of them affect the Lighthouse CI runs (installed and not enabled: think Shopify Product Reviews). |
Reminders for me to look into the following:
Lighthouse CI
We are currently a deprecated authentication config for our Lighthouse CI job:
app_id
andapp_password
are deprecated.dawn/.github/workflows/ci.yml
Lines 4 to 16 in 3591cdf
https://github.com/Shopify/lighthouse-ci-action/blob/13cf9a620e4d97fb36b2e5a87dae2eefc2670f21/action.yml#L43-L50
We should use the Custom app authentication method.
Add leaving
v
by changingshopify/lighthouse-ci-action@1.0
toshopify/lighthouse-ci-action@v1
: this might not be too critical as Github doesn't currently apply any versioning semantics for actions but they might in the future and its good practice.dawn/.github/workflows/ci.yml
Line 10 in 3591cdf
This was also recently changed on the lighthouse-ci-action repo.
I tested this by pushing a test commit and let the CI do its thing:
https://github.com/Shopify/dawn/runs/6070248681?check_suite_focus=true
The text was updated successfully, but these errors were encountered: