forked from Emanuele-web04/synara
-
Notifications
You must be signed in to change notification settings - Fork 3
59 lines (46 loc) · 1.45 KB
/
Copy pathci.yml
File metadata and controls
59 lines (46 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: CI
on:
pull_request:
push:
branches:
- main
jobs:
quality:
name: Format, Lint, Typecheck, Test, Build
runs-on: ubuntu-24.04
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version-file: package.json
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version-file: package.json
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Verify Linux terminal PTY native dependency
if: runner.os == 'Linux'
run: node scripts/node-pty-smoke.mjs
- name: Verify Forkara upstream attribution
# During active branding/rebrand churn, this check is intentionally advisory
# in PR validation so documentation and naming updates do not block
# functional validation paths.
run: bun run brand:check || true
- name: Format
run: bun run fmt:check
- name: Lint
run: bun run lint
- name: Typecheck
run: bun run typecheck
- name: Test
run: bun run test
- name: Build desktop pipeline
run: bun run build:desktop
- name: Verify preload bundle output
run: |
test -f apps/desktop/dist-electron/preload.js
grep -nE "desktopBridge|getWsUrl|PICK_FOLDER_CHANNEL|wsUrl" apps/desktop/dist-electron/preload.js