-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (30 loc) · 801 Bytes
/
ci.yml
File metadata and controls
35 lines (30 loc) · 801 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
name: CI
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun run build
- run: bun x prettier --check .
- run: bun x tsc --noEmit
- run: bun run test
e2e-oob:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: oven-sh/setup-bun@v2
- run: sudo apt-get update && sudo apt-get install -y chromium-browser
- run: bun install
- run: bun install
working-directory: example/oob
- run: bun run start &
working-directory: example/oob
- run: bun test
working-directory: example/oob
env:
PUPPETEER_EXECUTABLE_PATH: /usr/bin/chromium-browser