Repository navigation
50 lines (48 loc) · 1.49 KB
/
Copy pathci.yml
File metadata and controls
50 lines (48 loc) · 1.49 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
name: CI
on:
push:
pull_request:
jobs:
test:
name: ${{ matrix.os }} / Node ${{ matrix.node }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
node: [20]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: npm
- run: npm ci
- run: npm run check
- run: npm run lint
- run: npm run format:check
- run: npm run docs:cli:check
- run: npm run docs:bilingual:check
- run: npm run test:core
- run: npm run build
- name: Verify release packages
if: runner.os == 'Linux'
run: npm run release:verify
- name: Windows command and installer regression tests
if: runner.os == 'Windows'
run: npm run test:windows
- name: Build Windows Desktop installer
if: runner.os == 'Windows'
run: npm run build:installer:windows
- name: Verify Windows Desktop release
if: runner.os == 'Windows'
run: npm run release:verify:desktop
- name: Benchmarks
if: runner.os == 'Linux'
run: npm run benchmark && npm run benchmark:agent
- name: Deterministic Context explainability benchmark
if: runner.os == 'Linux'
run: npm run benchmark:explainability
- name: Deterministic Desktop plugin benchmark
if: runner.os == 'Windows'
run: npm run benchmark:desktop