Skip to content

chore: Refactor to bun workspaces #225

chore: Refactor to bun workspaces

chore: Refactor to bun workspaces #225

Workflow file for this run

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