Repository navigation
Fix recurring-date drift, add missing lib/e2e/a11y test coverage #42
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: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| lighthouse: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| - run: npm install --legacy-peer-deps | |
| - run: npm run build | |
| env: | |
| NEXT_PUBLIC_STREAM_CONTRACT_ID_TESTNET: ${{ secrets.NEXT_PUBLIC_STREAM_CONTRACT_ID_TESTNET }} | |
| - name: Start Next.js server | |
| run: npm run start & | |
| env: | |
| PORT: 3000 | |
| - name: Wait for server | |
| run: npx wait-on http://localhost:3000 --timeout 30000 | |
| - name: Run Lighthouse CI | |
| uses: treosh/lighthouse-ci-action@v12 | |
| with: | |
| urls: | | |
| http://localhost:3000 | |
| uploadArtifacts: true | |
| temporaryPublicStorage: true | |
| runs: 3 | |
| budgetPath: .github/lighthouse-budget.json |