File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [main, master, develop]
6+ pull_request :
7+ branches : [main, master, develop]
8+
9+ jobs :
10+ build-and-test :
11+ name : Build and Test
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - name : Checkout code
16+ uses : actions/checkout@v4
17+
18+ - name : Setup Bun
19+ uses : oven-sh/setup-bun@v2
20+ with :
21+ bun-version : latest
22+
23+ - name : Setup Bun cache
24+ uses : actions/cache@v4
25+ with :
26+ path : ~/.bun/install/cache
27+ key : ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
28+ restore-keys : |
29+ ${{ runner.os }}-bun-
30+
31+ - name : Install dependencies
32+ run : bun install --frozen-lockfile
33+
34+ - name : Run linter
35+ run : bun run lint
36+
37+ - name : Build project
38+ env :
39+ VITE_JOURNIUM_PUBLISHABLE_KEY : ${{ vars.JOURNIUM_PUBLISHABLE_KEY || 'your_journium_publishable_key_here' }}
40+ run : bun run build
41+
You can’t perform that action at this time.
0 commit comments