Mark repository as safe for lighthouse container #10002
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: [push] | |
| jobs: | |
| lhci: | |
| name: Lighthouse | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Mark repository as safe for the container | |
| run: git config --global --add safe.directory $GITHUB_WORKSPACE | |
| - name: Lighthouse | |
| uses: shopify/lighthouse-ci-action@v1 | |
| with: | |
| store: ${{ secrets.SHOP_STORE_OS2 }} | |
| password: ${{ secrets.SHOP_PASSWORD_OS2 }} | |
| access_token: ${{ secrets.SHOP_ACCESS_TOKEN }} | |
| collection_handle: all | |
| lhci_github_app_token: ${{ secrets.LHCI_GITHUB_TOKEN }} | |
| pull_theme: ${{ secrets.SHOP_PULL_THEME }} | |
| theme-check: | |
| name: Theme Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Theme Check | |
| uses: shopify/theme-check-action@v2 | |
| with: | |
| token: ${{ github.token }} |