Skip to content

Commit 26b7856

Browse files
committed
chore(frontend): Add build ci workflow
1 parent 7e7e89c commit 26b7856

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Frontend Build
2+
3+
on:
4+
push:
5+
branches: [ main, dev ]
6+
paths:
7+
- 'app_web/**'
8+
- '.github/workflows/frontend-build.yml'
9+
pull_request:
10+
branches: [ main, dev ]
11+
paths:
12+
- 'app_web/**'
13+
- '.github/workflows/frontend-build.yml'
14+
workflow_dispatch:
15+
16+
jobs:
17+
build:
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- uses: actions/checkout@v5
22+
23+
- name: Install Bun
24+
uses: oven-sh/setup-bun@v2
25+
with:
26+
bun-version: latest
27+
28+
- name: Install dependencies
29+
working-directory: ./app_web
30+
run: bun install
31+
32+
- name: Run typecheck
33+
working-directory: ./app_web
34+
run: bun run typecheck
35+
36+
- name: Build application
37+
working-directory: ./app_web
38+
run: bun run build

0 commit comments

Comments
 (0)