Repository navigation
185 lines (150 loc) · 5.6 KB
/
Copy pathci.yml
File metadata and controls
185 lines (150 loc) · 5.6 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
name: CI
on:
push:
branches: [main]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
verify-windows-workspace:
name: Verify Windows workspace paths (Node ${{ matrix.node }})
runs-on: windows-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
node: ['22.19.0', '24']
steps:
- name: Check out repository
uses: actions/checkout@v6
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node }}
package-manager-cache: false
- name: Install pnpm
run: npm install --global pnpm@10.13.1
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Test workspace identities and platform paths
run: pnpm exec vitest run tests/workspace-storage.spec.ts tests/client-platform-boundary.spec.ts tests/async-subagent-memory.spec.ts
- name: Test desktop CLI process ownership and hidden native launches
run: >-
pnpm exec vitest run tests/host-process.spec.ts tests/version-updates.spec.ts
plugins/dsh-mnemon-source-memory-spaces/tests/npm-native-cli.spec.ts
plugins/dsh-mnemon-source-memory-spaces/tests/runner.spec.ts
plugins/dsh-mnemon-source-memory-spaces/tests/process.spec.ts
verify-source:
name: Verify source (Node 22.19)
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Check out repository
uses: actions/checkout@v6
with:
fetch-depth: 2
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: 22.19.0
package-manager-cache: false
- name: Install pnpm
run: npm install --global pnpm@10.13.1
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Validate release intent
if: github.event_name == 'pull_request'
env:
CHANGESET_BASE_REVISION: ${{ github.event.pull_request.base.sha }}
CHANGESET_REVISION: ${{ github.sha }}
run: pnpm run release:intent
- name: Type-check integrated source
run: pnpm run typecheck
- name: Check documentation links and public plugin catalog
run: pnpm run verify:docs
- name: Verify deterministic root build
run: pnpm run verify:build
- name: Build public plugin SDK entries
run: >-
pnpm --workspace-concurrency=2
--filter dsh-mnemon-source-memory-spaces
--filter dsh-mnemon-source-documents
--filter dsh-mnemon-source-runtime
--filter dsh-mnemon-strategy-default-three-tier
--parallel run build
- name: Test integrated source
run: pnpm run test
- name: Verify root package
run: pnpm run verify:package
- name: Set up Node.js 20 for runtime compatibility
uses: actions/setup-node@v6
with:
node-version: 20
package-manager-cache: false
- name: Import every public entry on Node.js 20
run: node scripts/verify-public-entries.mjs
# The pinned development baseline is DSH 0.2.1; the root tests also run against the
# older supported release and the next 0.2.1 candidate, installed from npm.
verify-installed-dsh:
name: Verify on installed DSH ${{ matrix.dsh }} (Node 22.19)
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
dsh: ['0.2.0-rc.2', '0.2.1-rc.3']
steps:
- name: Check out repository
uses: actions/checkout@v6
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: 22.19.0
package-manager-cache: false
- name: Install pnpm
run: npm install --global pnpm@10.13.1
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Install DSH ${{ matrix.dsh }}
env:
DSH_RELEASE: ${{ matrix.dsh }}
run: npm install --global --prefix "$RUNNER_TEMP/dsh" "@deepseek-ai/dsh@$DSH_RELEASE" --no-fund --no-audit
- name: Build root and public plugin SDK entries
run: >-
pnpm run build &&
pnpm --workspace-concurrency=2
--filter dsh-mnemon-source-memory-spaces
--filter dsh-mnemon-source-documents
--filter dsh-mnemon-source-runtime
--filter dsh-mnemon-strategy-default-three-tier
--parallel run build
- name: Test root against the installed DSH
env:
DSH_HOST_ROOT: ${{ runner.temp }}/dsh/lib/node_modules/@deepseek-ai/dsh
run: pnpm run test:installed-dsh
- name: Verify delayed first-party model discovery on rc.3
if: matrix.dsh == '0.2.1-rc.3'
run: node --experimental-transform-types scripts/verify-task-model-directory.mjs "$RUNNER_TEMP/dsh/lib/node_modules/@deepseek-ai/dsh/package.json"
verify-artifacts:
name: Verify packed plugins (Node 24)
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Check out repository
uses: actions/checkout@v6
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: 24
package-manager-cache: false
- name: Install pnpm
run: npm install --global pnpm@10.13.1
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Verify packed and independently installed plugins
env:
MNEMON_PLUGIN_VERIFY_CONCURRENCY: '4'
run: pnpm run verify:plugins