Website Guardian: 1 issue(s) found #1412
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: Lighthouse CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| lighthouse: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '18' | |
| - name: Install Lighthouse CI | |
| run: | | |
| npm install -g @lhci/cli@0.12.x | |
| - name: Start local server | |
| run: | | |
| python3 -m http.server 8080 & | |
| sleep 2 | |
| - name: Run Lighthouse CI | |
| run: | | |
| lhci autorun --collect.url=http://localhost:8080/index.html --collect.url=http://localhost:8080/blog.html --collect.url=http://localhost:8080/git-tracker.html --upload.target=temporary-public-storage |