test: add standalone V4 detector demo for all roadmap features #143
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v3 | |
| with: | |
| version: 10 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Test (excludes tree-sitter WASM tests) | |
| run: cd packages/core && npx vitest run --config vitest.ci.config.ts | |
| - name: Build | |
| run: pnpm -r build | |
| - name: Verify CLI | |
| run: | | |
| node packages/cli/dist/index.js --help | |
| node packages/cli/dist/index.js --version |