-
Notifications
You must be signed in to change notification settings - Fork 0
74 lines (57 loc) · 1.79 KB
/
Copy pathci.yml
File metadata and controls
74 lines (57 loc) · 1.79 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
name: CI
on:
pull_request:
push:
branches: [main]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
desktop-shell-checks:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
- name: Typecheck platform-core
run: npm run typecheck --workspace @cubecloud/platform-core
- name: Typecheck desktop-shell
run: npm run typecheck --workspace @cubecloud/desktop-shell
- name: Run focused desktop-shell tests
run: npm run test --workspace @cubecloud/desktop-shell -- App.gateway.dom.test.tsx src/renderer/src/App.kanban.dom.test.tsx src/main/runtimeSessions.test.ts
desktop-shell-electron-smoke:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
- name: Run Electron UI smoke test
run: npm run test:electron-smoke --workspace @cubecloud/desktop-shell
desktop-shell-windows-packaging:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
- name: Build Windows package
run: npm run build:win --workspace @cubecloud/desktop-shell
- name: Verify packaged Windows app
run: npm run verify:win-package --workspace @cubecloud/desktop-shell