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]
6+ pull_request :
7+ branches : [main]
8+ workflow_dispatch :
9+
10+ jobs :
11+ desktop-smoke :
12+ runs-on : ubuntu-latest
13+ defaults :
14+ run :
15+ working-directory : desktop
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v4
19+
20+ - name : Setup Node
21+ uses : actions/setup-node@v4
22+ with :
23+ node-version : 20
24+ cache : npm
25+ cache-dependency-path : desktop/package-lock.json
26+
27+ - name : Install deps
28+ run : npm ci
29+
30+ - name : Install Playwright (chromium)
31+ run : npx playwright install --with-deps chromium
32+
33+ - name : Smoke tests (chromium)
34+ run : npm run test:smoke -- --project=chromium --reporter=line -- tests/smoke.spec.ts
35+
36+ - name : Upload bundle report (if present)
37+ if : always()
38+ uses : actions/upload-artifact@v4
39+ with :
40+ name : bundle-report
41+ path : desktop/dist/renderer/bundle-report.html
42+ if-no-files-found : ignore
You can’t perform that action at this time.
0 commit comments