Skip to content

chore: exclude worktrees from Biome scan #258

chore: exclude worktrees from Biome scan

chore: exclude worktrees from Biome scan #258

Workflow file for this run

name: Admin Dashboard Tests
on:
push:
branches: [main, develop]
paths:
- "packages/admin/**"
- "packages/shared/**"
pull_request:
branches: [main, develop]
paths:
- "packages/admin/**"
- "packages/shared/**"
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Run tests with coverage
run: |
cd packages/admin
bun run test:coverage
env:
CI: true
lint-and-build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Run linting
run: |
cd packages/admin
bun run lint
- name: Check formatting
run: bun run format:check
- name: Type check and build
run: |
cd packages/admin
bun run build
env:
VITE_CHAIN_ID: "11155111"
VITE_WALLETCONNECT_PROJECT_ID: "test"
VITE_PIMLICO_API_KEY: "test"
VITE_ENVIO_INDEXER_URL: "http://localhost:8080"