forked from BasedHardware/omi
-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (44 loc) · 1.29 KB
/
Copy pathdesktop-checks.yml
File metadata and controls
51 lines (44 loc) · 1.29 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
name: Desktop Checks
on:
push:
branches: main
pull_request:
branches: main
concurrency:
group: desktop-checks-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
changes:
name: Detect Changes
runs-on: ubuntu-latest
outputs:
diff_base: ${{ steps.changes.outputs.diff_base }}
has_desktop_agent_runtime: ${{ steps.changes.outputs.has_desktop_agent_runtime }}
steps:
- name: Checkout code
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Detect changed paths
id: changes
uses: ./.github/actions/detect-changes
agent-runtime:
name: Agent Runtime
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.has_desktop_agent_runtime == 'true'
steps:
- name: Checkout code
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Setup Node.js for desktop agent runtime
uses: actions/setup-node@v7
with:
node-version: '22'
cache: 'npm'
cache-dependency-path: |
desktop/macos/agent/package-lock.json
desktop/macos/pi-mono-extension/package-lock.json
- name: Check desktop agent runtime
run: desktop/macos/scripts/test-tool-surfaces.sh