This repository was archived by the owner on Jul 24, 2026. It is now read-only.
Repository navigation
Update parseTokenFromEnv to use environment variable for LITELLM API key #10945
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: build | |
| permissions: | |
| contents: read | |
| models: read | |
| on: | |
| push: | |
| branches: [main, dev] | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [22, 24] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "${{ matrix.node-version }}" | |
| cache: "pnpm" | |
| - run: sudo apt-get update && sudo apt-get install ffmpeg | |
| - run: pnpm install --frozen-lockfile | |
| - name: build | |
| run: pnpm run build:ci | |
| - name: lint:check | |
| run: pnpm run lint:check | |
| continue-on-error: true | |
| - name: compile system scripts | |
| run: pnpm run test:system | |
| - name: compile tests | |
| run: pnpm run test:compile | |
| - name: test echo | |
| run: pnpm run test:scripts:echo | |
| timeout-minutes: 5 | |
| - run: git fetch origin test-ignore | |
| - name: tests | |
| run: pnpm -r test | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |