-
Notifications
You must be signed in to change notification settings - Fork 18
47 lines (41 loc) · 1.41 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
name: Validate
on:
push:
branches: [main]
pull_request:
workflow_call:
jobs:
root:
name: root
runs-on: ubuntu-22.04
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Install Bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install
- name: Build
run: bun run build
- name: Checks
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/messaging-demo check
bun run --cwd packages/proxy-service check
bun run --cwd packages/proxy-service-demo check
bun run --cwd packages/storage check
- name: Run Tests
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