Skip to content

Commit ed587c2

Browse files
Commit CI workflow: build, test, and demo on Node 20/22 with bundled sample artifacts
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 4d21648 commit ed587c2

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
# This repo is independently testable: the bundled sample artifacts are real
9+
# Open Mind output checked into examples/, so CI never checks out open-mind.
10+
jobs:
11+
build-test-demo:
12+
name: Build, test, and demo (Node ${{ matrix.node }})
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
node: [20, 22]
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- uses: actions/setup-node@v4
21+
with:
22+
node-version: ${{ matrix.node }}
23+
cache: npm
24+
25+
- name: Install
26+
run: npm ci
27+
28+
- name: Build
29+
run: npm run build
30+
31+
- name: Test
32+
run: npm test
33+
34+
- name: Run the demo with bundled sample artifacts
35+
run: npm run demo

0 commit comments

Comments
 (0)