Un-minify js and css on /snake for easy review, style control option … #6
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: [master] | |
| schedule: | |
| - cron: "0 12 * * 1" | |
| workflow_dispatch: | |
| jobs: | |
| lighthouse: | |
| name: Lighthouse (${{ matrix.preset }}) | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| statuses: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| preset: [desktop, mobile] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: "22" | |
| - run: npm install -g @lhci/cli@0.15.x | |
| - run: lhci autorun ${{ matrix.preset == 'desktop' && '--collect.settings.preset=desktop' || '' }} | |
| env: | |
| LHCI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |