2024-04-02 09:28:04 +00:00
|
|
|
name: Bun CI
|
2024-01-03 22:37:21 +00:00
|
|
|
on:
|
|
|
|
push:
|
2024-04-02 09:28:04 +00:00
|
|
|
branches: ['main']
|
2024-01-03 22:37:21 +00:00
|
|
|
pull_request:
|
|
|
|
jobs:
|
|
|
|
build:
|
2024-01-05 01:18:20 +00:00
|
|
|
name: 'Format & Build Frontend'
|
2024-04-02 09:28:04 +00:00
|
|
|
env:
|
|
|
|
PUBLIC_API_BASE_URL: ''
|
2024-01-03 22:37:21 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-04-02 09:28:04 +00:00
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Use Bun
|
|
|
|
uses: oven-sh/setup-bun@v1
|
|
|
|
- run: bun --version
|
|
|
|
- name: Install frontend dependencies
|
|
|
|
run: bun install
|
|
|
|
- name: Format frontend
|
|
|
|
run: bun run format
|
|
|
|
- name: Build frontend
|
|
|
|
run: bun run build
|