Skip to content

Commit

Permalink
add mode suffix for GH status
Browse files Browse the repository at this point in the history
  • Loading branch information
Trombach committed Jan 2, 2025
1 parent 76c6fac commit a32d33d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/lhci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ jobs:
- name: Audit URL using Lighthouse
run: |
pnpm add --global @lhci/cli
lhci autorun --config=${{ inputs.config-path }} --collect.settings.preset=${{ inputs.mode }}
lhci autorun --config=${{ inputs.config-path }}
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
LHCI_COLLECT__URL: ${{ inputs.url }}
LHCI_COLLECT__SETTINGS__PRESET: ${{ inputs.mode }}
LHCI_COLLECT__SETTINGS__EXTRA_HEADERS: '{"x-vercel-protection-bypass": "${{ secrets.VERCEL_AUTOMATION_BYPASS_SECRET }}"}'
LHCI_UPLOAD__GITHUB_STATUS_CONTEXT_SUFFIX: -`${{ inputs.mode}}

0 comments on commit a32d33d

Please sign in to comment.