-
Notifications
You must be signed in to change notification settings - Fork 16
49 lines (46 loc) · 1.5 KB
/
validate.yml
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
47
48
49
name: Validate
on:
push:
branches: [main]
pull_request:
workflow_call:
jobs:
checks:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: |
bun format:check
bun run --cwd packages/fake-browser check
bun run --cwd packages/isolated-element check
bun run --cwd packages/isolated-element-demo check
bun run --cwd packages/job-scheduler check
bun run --cwd packages/match-patterns check
bun run --cwd packages/messaging check
bun run --cwd packages/proxy-service check
bun run --cwd packages/storage check
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun run build
tests:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v2
- run: bun install
- name: Install Playwright Browsers
run: bun x playwright install --with-deps
- run: |
bun run --cwd packages/fake-browser test:coverage
bun run --cwd packages/isolated-element test:coverage
bun run --cwd packages/job-scheduler test:coverage
bun run --cwd packages/match-patterns test:coverage
bun run --cwd packages/messaging test:coverage
bun run --cwd packages/proxy-service test:coverage
bun run --cwd packages/storage test:coverage