Skip to content

Merge PR #140 with conflict resolution #14

Merge PR #140 with conflict resolution

Merge PR #140 with conflict resolution #14

Workflow file for this run

name: Frontend CI
on:
push:
branches: [main, "release/*"]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
env:
NEXT_TELEMETRY_DISABLED: "1"
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: "1"
jobs:
quality:
name: ${{ matrix.check.name }}
runs-on: ubuntu-latest
timeout-minutes: ${{ matrix.check.timeout }}
strategy:
fail-fast: false
matrix:
check:
- name: Lint
command: pnpm lint
timeout: 10
- name: Typecheck
command: pnpm typecheck
timeout: 10
- name: Build
command: pnpm build
timeout: 15
- name: Unit tests (core queues)
command: pnpm test:unit && pnpm test:queue && pnpm test:optimistic && pnpm test:sliding-window
timeout: 10
- name: Unit tests (storage and sync)
command: pnpm test:cache && pnpm test:idb && pnpm test:shared-state && pnpm test:workspace && pnpm test:network-cache
timeout: 10
- name: Unit tests (services)
command: pnpm test:waterfall && pnpm test:horizon-pagination && pnpm test:redis-cache && pnpm test:approval-manager
timeout: 10
- name: Unit tests (features)
command: pnpm test:backup && pnpm test:backup-scheduler && pnpm test:scheduler && pnpm test:bridge && pnpm test:staking
timeout: 10
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.25.0
run_install: false
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run ${{ matrix.check.name }}
run: ${{ matrix.check.command }}