Skip to content

fix(stream-card): add data-testid to root link (FlowwStar/FlowStar#378) #62

fix(stream-card): add data-testid to root link (FlowwStar/FlowStar#378)

fix(stream-card): add data-testid to root link (FlowwStar/FlowStar#378) #62

Workflow file for this run

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 }}
NEXT_PUBLIC_STREAM_CONTRACT_ID_MAINNET: ${{ secrets.NEXT_PUBLIC_STREAM_CONTRACT_ID_MAINNET }}
- 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