feat(codegen): add TS (openapi-typescript) and Python (pydantic v2) t… #4
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: Conformance | |
| on: | |
| push: | |
| branches: [main, phase2/boundary-specs] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| go-runner: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.22' | |
| - name: Run Go conformance runner | |
| run: go run . -vectors ../../vectors | |
| working-directory: ${{ github.workspace }}/conformance/runner/go | |
| ts-runner: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - uses: pnpm/action-setup@v3 | |
| with: | |
| version: 9 | |
| - name: Install deps | |
| run: pnpm install --no-frozen-lockfile | |
| - name: Build TS SDK | |
| run: pnpm --filter @bsv/sdk run build | |
| - name: Run TS conformance runner | |
| run: pnpm --filter @bsv/conformance-runner-ts test | |
| env: | |
| NODE_OPTIONS: --experimental-vm-modules |