Skip to content

🔧 update (ci): add build step for workspace packages #35

🔧 update (ci): add build step for workspace packages

🔧 update (ci): add build step for workspace packages #35

Workflow file for this run

name: CI
on:
pull_request:
branches: [main, dev]
push:
branches: [main, dev]
workflow_call:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Build packages
run: bun run build:packages
- name: Build plugins
run: bun run build:plugins
test:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Build packages
run: bun run build:packages
- name: Build plugins
run: bun run build:plugins
- name: Run tests (with retry for Bun runtime segfaults)
uses: nick-fields/retry@v3
with:
max_attempts: 3
timeout_minutes: 10
command: bun test