lighthouseci #6033
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: lighthouseci | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 3 * * *' # Runs every day at 3am UTC | |
| # pull_request: | |
| # paths-ignore: | |
| # - "*.md" | |
| # - "*.github/**" | |
| jobs: | |
| lighthouseci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 19 | |
| - run: npm install --legacy-peer-deps && npm install -g @lhci/[email protected] | |
| - run: CI=false npm run build | |
| - run: lhci collect --config=.desktop-lighthouserc.js | |
| - run: lhci assert --config=.desktop-lighthouserc.js | |
| - run: lhci upload | |
| - run: lhci autorun |