Skip to content

Commit 0cb9d29

Browse files
committed
chore: build example apps in CI to prevent rot
1 parent 00baf2c commit 0cb9d29

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,13 @@ jobs:
5959
- name: Run cargo check
6060
run: cargo check --workspace --all-targets
6161

62+
- name: Build example apps
63+
run: |
64+
for example in examples/*/; do
65+
echo "Building $example..."
66+
(cd "$example" && npm ci && npm run build)
67+
cargo check --manifest-path "${example}src-tauri/Cargo.toml"
68+
done
69+
6270
- name: Run TypeScript and Rust tests
6371
run: npm test

0 commit comments

Comments
 (0)