My store is password protected, which I think is related to the issue I am having.
I get the following error when I run my CI/CD pipeline:
I have set the access_token, store and password.
If I change the access_token to some random string, I get this error instead:
So Im failry certain that the access_token is not the issue, likewise if I change the store, I get this:
This leaves the password, I have tried setting it to the password which protects the site, the password I use to connect to the Shopify CLI locally, the access_token value, the Storefront API access token, the API key and the API secret key. But none of these values worked, and I receive the same error.
Ive confirmed that the collection_handle also exists.
My code looks like:
name: Lighthouse
needs: theme-check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Lighthouse
uses: shopify/lighthouse-ci-action@v1
with:
access_token: ${{ secrets.SHOPIFY_ACCESS_TOKEN_DEV }}
store: ${{ secrets.SHOPIFY_STORE_DEV }}
password: ${{ secrets.SHOP_PASSWORD_DEV }}
lhci_github_app_token: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
theme_root: ./src/theme
lhci_min_score_performance: ${{ vars.LHCI_MIN_SCORE_PERFORMANCE }}
lhci_min_score_accessibility: ${{ vars.LHCI_MIN_SCORE_ACCESSIBILITY }}
collection_handle: test
Am I able to run this on a store which is password protected? And if so what should the password value be?
My store is password protected, which I think is related to the issue I am having.
I get the following error when I run my CI/CD pipeline:
I have set the access_token, store and password.
If I change the access_token to some random string, I get this error instead:
So Im failry certain that the access_token is not the issue, likewise if I change the store, I get this:
This leaves the password, I have tried setting it to the password which protects the site, the password I use to connect to the Shopify CLI locally, the access_token value, the Storefront API access token, the API key and the API secret key. But none of these values worked, and I receive the same error.
Ive confirmed that the collection_handle also exists.
My code looks like:
Am I able to run this on a store which is password protected? And if so what should the password value be?