diff --git a/.github/workflows/lhci.yml b/.github/workflows/lhci.yml index d51e1f7..91d485e 100644 --- a/.github/workflows/lhci.yml +++ b/.github/workflows/lhci.yml @@ -8,9 +8,20 @@ concurrency: cancel-in-progress: true env: + # -- SHOPIFY CONFIG -- # SHOPIFY_STOREFRONT_ACCESS_TOKEN: ${{ secrets.SHOPIFY_STOREFRONT_ACCESS_TOKEN }} SHOPIFY_STORE_DOMAIN: ${{ secrets.SHOPIFY_STORE_DOMAIN }} + # -- SHOPIFY CONFIG -- # + + # -- LHCI CONFIG -- # LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }} + # -- LHCI CONFIG -- # + + # -- TURBO CACHE -- # + TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} + TURBO_TEAM: ${{ secrets.TURBO_TEAM }} + TURBO_REMOTE_ONLY: true + # -- TURBO CACHE -- # jobs: lhci: diff --git a/apps/commerce/lighthouserc.js b/apps/commerce/lighthouserc.js index 9d4eaf6..381b0ea 100644 --- a/apps/commerce/lighthouserc.js +++ b/apps/commerce/lighthouserc.js @@ -3,5 +3,11 @@ const { lighthouse: lhConfig } = require('./store.config'); module.exports = { urls: Object.values(lhConfig.pages), server: lhConfig.server, - startServerCommand: lhConfig.startServerCommand + startServerCommand: lhConfig.startServerCommand, + collect: { + url: Object.values(lhConfig.pages).map((url) => `${lhConfig.server}${url}`) + }, + upload: { + target: 'temporary-public-storage' + } };