-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Bump lighthouse-ci-action to 1.1.1 and checkout to v3 #2491
Conversation
with: | ||
store: ${{ secrets.SHOP_STORE_OS2 }} | ||
password: ${{ secrets.SHOP_PASSWORD_OS2 }} | ||
access_token: ${{ secrets.SHOP_ACCESS_TOKEN }} | ||
product_handle: puppy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By default lighthouse-ci-action
will use the first product. puppy
only works for the os2-demo
shop, but I'm planning to switch to theme-design-ci
.
.github/workflows/ci.yml
Outdated
collection_handle: all | ||
lhci_github_app_token: ${{ secrets.LHCI_GITHUB_TOKEN }} | ||
access_token: ${{ secrets.SHOP_PULL_THEME }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ID or name of a theme from which the settings and JSON templates should be used. If not provided Lighthouse will be run against the theme's default settings.
98bf014
to
17cff5a
Compare
theme-check: | ||
name: Theme Check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just noting that this takes care of part of this issue 👍🏼
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll 🎩 but definitely wait for others to review this.
Also, thanks for adding the pull_theme
option to lighthouse-ci-action 😄
PR Summary:
Update Github actions to use the latest versions.
Why are these changes introduced?
Fixes https://github.com/Shopify/dawn-private/issues/142
What approach did you take?
pull_theme
option to lighthouse-ci-action. This lets us pull theme settings from a store to match real-world use cases instead of always testing against default settings.Other considerations
Both changes should have no impact on CI except possibly speeding up/slowing down CI. I will update the environment variables to change the Lighthouse store.
Decision log
Visual impact on existing themes
n/a
Testing steps/scenarios
No theme testing required. Check github actions in CI to ensure its running as usual.
Demo links
N/A - No theme changes
Checklist