2024-01-03 23:37:21 +01:00
|
|
|
name: Bun CI
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: ['main']
|
|
|
|
pull_request:
|
|
|
|
jobs:
|
|
|
|
build:
|
2024-01-05 02:18:20 +01:00
|
|
|
name: 'Lint Frontend'
|
2024-01-03 23:37:21 +01:00
|
|
|
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
|
2024-01-05 02:20:12 +01:00
|
|
|
- run: bun run lint:frontend
|
2024-01-05 02:23:03 +01:00
|
|
|
- run: bun run lint:types
|
|
|
|
if: success() || failure()
|