Files
Hubert Bieszczad 54260e3f8d chore: typecheck tests (#626)
* chore: typecheck tests

* chore: add to ci
2026-08-12 07:49:43 +02:00

51 lines
1.0 KiB
YAML

name: Build and test library
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version-file: .bun-version
- name: Install dependencies
run: bun install
- name: Build library
run: bun run build
- name: Check types
run: bun run check:typescript
- name: Check test types
run: bun run check:typescript:test
working-directory: packages/uniwind
- name: Check linting
run: bun run lint
- name: Check formatting
run: bun run check:format
- name: Check circular dependencies
run: bun run circular:check
- name: Install Playwright browsers
run: bunx playwright install --with-deps chromium
working-directory: packages/uniwind
- name: Run tests
run: bun run test