feat(landing): replace 'pricing coming soon' with real tiers + wire n… #74
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: | |
| lint-and-typecheck: | |
| name: Lint & Typecheck (TypeScript) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm --filter=@vectorless/shared build | |
| - run: pnpm --filter=vectorless typecheck | |
| - run: pnpm --filter=@vectorless/web lint | |
| test-ts-sdk: | |
| name: Test TypeScript SDK | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm --filter=@vectorless/shared build | |
| - run: pnpm --filter=vectorless build | |
| - name: Run unit tests (skip integration) | |
| run: cd packages/ts-sdk && npx vitest run __tests__/client.test.ts | |
| test-python-sdk: | |
| name: Test Python SDK | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.9", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: astral-sh/setup-uv@v5 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| working-directory: sdks/python | |
| run: uv pip install -e ".[dev]" --system | |
| - name: Run tests | |
| working-directory: sdks/python | |
| run: pytest tests/test_client.py -v | |
| build: | |
| name: Build All Packages | |
| runs-on: ubuntu-latest | |
| needs: [lint-and-typecheck] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm --filter=@vectorless/shared build | |
| - run: pnpm --filter=vectorless build |