Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

fix: gate dividend text in BuyCreditsPanel behind dividendsEnabled #220

fix: gate dividend text in BuyCreditsPanel behind dividendsEnabled

fix: gate dividend text in BuyCreditsPanel behind dividendsEnabled #220

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
merge_group:
types: [checks_requested]
jobs:
build-lint-test:
runs-on: [self-hosted, Linux, X64]
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm run lint
- name: Format check
run: npx @biomejs/biome format src/
- name: Type check
run: npx tsc --noEmit
- name: Build
run: pnpm run build
env:
NEXT_PUBLIC_API_URL: http://localhost:3001
- name: Test
run: pnpm test
- name: Coverage Report
if: github.event_name == 'pull_request'
uses: davelosert/vitest-coverage-report-action@v2
with:
json-summary-path: coverage/coverage-summary.json
e2e:
runs-on: [self-hosted, Linux, X64, test-runner]
needs: build-lint-test
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: Clean previous build
run: rm -rf .next
- name: Build
run: pnpm run build
env:
NEXT_PUBLIC_API_URL: http://localhost:3001
- name: Install Playwright browsers
run: npx playwright install --with-deps chromium
- name: Run Playwright tests
run: npx playwright test
env:
CI: true
NEXT_PUBLIC_API_URL: http://localhost:3001
- name: Upload Playwright report
uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 7