feat: add automatic types generation (#703)

This commit is contained in:
Valerio Ageno
2025-04-20 11:04:48 +02:00
committed by GitHub
parent 0813c14e15
commit bc444929ed
26 changed files with 1246 additions and 59 deletions
+4 -20
View File
@@ -43,7 +43,7 @@ jobs:
NAMES=$(find . -mindepth 1 -maxdepth 1 -type d -exec basename {} \;)
echo "names=$(echo "$NAMES" | jq -R -s -c 'split("\n")[:-1]')" >> "$GITHUB_OUTPUT"
check_rust:
check_example:
needs:
- example_list
@@ -87,26 +87,11 @@ jobs:
working-directory: ./examples/${{ matrix.example_name }}
run: ../../target/debug/tuono build
check_typescript:
name: Check typescript
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install NodeJS Dependencies
uses: ./.github/actions/install-node-dependencies
- name: Build typescript
run: pnpm run build
- name: Check formatting
run: pnpm run examples:format
run: pnpm run format
- name: Typecheck
run: pnpm run examples:typecheck
run: pnpm run typecheck
ci_ok:
name: Examples CI OK
@@ -115,8 +100,7 @@ jobs:
if: always()
needs:
- example_list
- check_rust
- check_typescript
- check_example
steps:
- name: Exit with error if some jobs are not successful
run: exit 1