This repository was archived by the owner on Aug 13, 2026. It is now read-only.
fix(agentflow): preserve usage_metadata when LLM node uses structured output #7991
Workflow file for this run
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: Node CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - '*' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| platform: [ubuntu-latest] | |
| node-version: [24.15.0] | |
| runs-on: ${{ matrix.platform }} | |
| env: | |
| PUPPETEER_SKIP_DOWNLOAD: true | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10.26.0 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'pnpm' | |
| cache-dependency-path: 'pnpm-lock.yaml' | |
| - run: pnpm install | |
| - run: pnpm lint | |
| - run: pnpm build | |
| env: | |
| NODE_OPTIONS: '--max_old_space_size=4096' | |
| - run: pnpm test:coverage | |
| - name: Cypress install | |
| run: pnpm cypress install | |
| - name: Install dependencies (Cypress Action) | |
| uses: cypress-io/github-action@v7.1.5 | |
| with: | |
| working-directory: ./ | |
| runTests: false | |
| - name: Cypress test | |
| uses: cypress-io/github-action@v7.1.5 | |
| with: | |
| install: false | |
| working-directory: packages/server | |
| start: pnpm start | |
| wait-on: 'http://localhost:3000' | |
| wait-on-timeout: 120 | |
| browser: chrome |