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 ddde0e3
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,7 +34,9 @@ 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 }} \
--collect.settings.preset=${{ inputs.mode}} \
--upload.settings.githubStatusContextSuffix=-${{ inputs.mode}}
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
LHCI_COLLECT__URL: ${{ inputs.url }}
Expand Down

0 comments on commit ddde0e3

Please sign in to comment.