open-webui/.github/workflows/bun.yaml

25 lines
597 B
YAML
Raw Normal View History

name: Bun CI
on:
push:
branches: ['main']
pull_request:
jobs:
build:
name: 'Format & Build Frontend' # Format, Lint, & Build
env:
PUBLIC_API_BASE_URL: ''
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Bun
uses: oven-sh/setup-bun@v1
- run: bun --version
2024-01-03 23:43:35 +01:00
- name: Install frontend dependencies
run: bun install --frozen-lockfile
# - run: bun run lint
# - run: bun run lint:types
2024-01-03 23:43:35 +01:00
- name: Format frontend
run: bun run format
- name: Build frontend
run: bun run build