* Install oxlint/oxfmt with Ultracite * Remove Biome, update commands * Synthesis * Update * Update * Update .oxlintrc.json * Update .oxlintrc.json * Update .oxlintrc.json * Remove nested configs * Update .oxlintrc.json * Update .oxfmtrc.jsonc * Run fix * Fix CI * Update design-system.md * Restore md files * Update .oxfmtrc.jsonc * Update docs
37 lines
750 B
YAML
37 lines
750 B
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
branches: ["*"]
|
|
|
|
jobs:
|
|
lint-and-typecheck:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
|
|
- name: Setup Bun
|
|
uses: oven-sh/setup-bun@v2
|
|
with:
|
|
bun-version: "1.2.14"
|
|
|
|
- name: Install dependencies
|
|
run: bun install --frozen-lockfile
|
|
|
|
- name: Lint and format check
|
|
run: bun run check
|
|
|
|
- name: Typecheck
|
|
run: bun run typecheck
|
|
|
|
- name: Test
|
|
run: bun run test:isolated
|
|
|
|
- name: DB Check
|
|
run: bun run --cwd apps/web db:check
|