Skip to content

chore(linter): implement Biome linter, first fixes and static tests in CI #6

chore(linter): implement Biome linter, first fixes and static tests in CI

chore(linter): implement Biome linter, first fixes and static tests in CI #6

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
static-checks:
name: Lint, Format, Check, Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Lint
run: bun run lint
- name: Format check
run: bun run format
- name: Type check
run: bun run check
- name: Build
run: bun run build
test:
name: Run Tests
runs-on: ubuntu-latest
needs: static-checks
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Test
run: bun run test