chore(deps-dev): bump turbo from 2.9.16 to 2.9.18 #27
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: QA Benchmark | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: [ master ] | |
| paths: | |
| - 'scripts/qa-benchmark.mjs' | |
| - 'scripts/qa-turbo.mjs' | |
| - 'turbo.json' | |
| - 'package.json' | |
| - 'pnpm-lock.yaml' | |
| - '.github/workflows/qa-benchmark.yml' | |
| permissions: | |
| contents: read | |
| jobs: | |
| turbo-qa-benchmark: | |
| name: Turbo QA Benchmark (Ubuntu) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| # pnpm 版本统一由 package.json 的 packageManager 决定,避免与 action 输入重复声明。 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v6 | |
| - name: Setup Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: 'pnpm' | |
| - name: Install Dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Run QA benchmark | |
| env: | |
| FORCE_COLOR: 1 | |
| TURBO_REMOTE_CACHE: ${{ vars.TURBO_REMOTE_CACHE || '0' }} | |
| TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
| TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
| run: | | |
| pnpm qa:benchmark -- --output-dir artifacts/qa-benchmarks | |
| - name: Upload QA benchmark artifacts | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: qa-benchmark | |
| path: artifacts/qa-benchmarks | |
| retention-days: 14 | |