Skip to content

Commit d06d303

Browse files
add semantic index ci
1 parent 3e81456 commit d06d303

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: ['main', 'agent/**']
6+
pull_request:
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
node-version: [22, 24]
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: actions/setup-node@v4
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
cache: npm
23+
cache-dependency-path: global-template/docgen/package.json
24+
- name: Syntax check
25+
working-directory: global-template/docgen
26+
run: npm run check
27+
- name: Unit and integration tests
28+
working-directory: global-template/docgen
29+
run: npm test
30+
- name: Installer dry run
31+
run: node install.mjs --dry-run --no-link-cli

0 commit comments

Comments
 (0)