feat(ts-sdk): add MiniMax LLM provider (#5858) #22
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: openclaw checks | |
| # On PRs this is invoked by ci-gate.yml (the single required check); | |
| # push-to-main and manual runs remain standalone. | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'integrations/openclaw/**' | |
| - '.github/workflows/openclaw-checks.yml' | |
| workflow_call: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'pnpm' | |
| cache-dependency-path: integrations/openclaw/pnpm-lock.yaml | |
| - name: Install dependencies | |
| run: cd integrations/openclaw && pnpm install --frozen-lockfile | |
| - name: Type check | |
| run: cd integrations/openclaw && pnpm exec tsc --noEmit | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [20, 22] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| - name: Setup Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'pnpm' | |
| cache-dependency-path: integrations/openclaw/pnpm-lock.yaml | |
| - name: Install dependencies | |
| run: cd integrations/openclaw && pnpm install --frozen-lockfile | |
| - name: Run tests with coverage | |
| run: cd integrations/openclaw && pnpm exec vitest run --coverage | |
| - name: Upload coverage to Codecov | |
| if: matrix.node-version == 20 | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| flags: openclaw | |
| directory: integrations/openclaw/coverage | |
| env: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'pnpm' | |
| cache-dependency-path: integrations/openclaw/pnpm-lock.yaml | |
| - name: Install dependencies | |
| run: cd integrations/openclaw && pnpm install --frozen-lockfile | |
| - name: Build | |
| run: cd integrations/openclaw && pnpm build | |
| - name: Verify dist output exists | |
| run: | | |
| test -f integrations/openclaw/dist/index.js || (echo "Build output missing: dist/index.js" && exit 1) | |
| test -f integrations/openclaw/dist/index.d.ts || (echo "Build output missing: dist/index.d.ts" && exit 1) |