-
Notifications
You must be signed in to change notification settings - Fork 35
46 lines (36 loc) · 945 Bytes
/
ci.yaml
File metadata and controls
46 lines (36 loc) · 945 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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 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