Skip to content

feat: Add AST parsing with tree-sitter for code symbol extraction #50

feat: Add AST parsing with tree-sitter for code symbol extraction

feat: Add AST parsing with tree-sitter for code symbol extraction #50

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test and Build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20, 22]
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Run type checking
run: bun run typecheck
- name: Run linting
run: bun run lint
- name: Run tests
run: bun test
- name: Build project
run: bun run build
- name: Verify package can be packed
run: bun run pack