Skip to content

refactor: use explicit if in component registration loop #757

refactor: use explicit if in component registration loop

refactor: use explicit if in component registration loop #757

Workflow file for this run

name: 🚀 Lint & Typecheck
on:
workflow_dispatch:
push:
# Run on every push to any branch
pull_request:
# Run on all pull requests regardless of target branch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
permissions:
actions: write
contents: read
jobs:
quality:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: ⎔ Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 11.1.2
- name: ⎔ Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Setup Biome
uses: biomejs/setup-biome@v2
- name: Run Biome
run: biome ci .
typecheck:
name: ʦ TypeScript
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: ⎔ Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 11.1.2
- name: ⎔ Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: 🔎 Type check
run: pnpm run typecheck
test:
name: 🧪 Tests
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: ⎔ Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 11.1.2
- name: ⎔ Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: 🧪 Run tests
run: pnpm run test