ci: split primary gates into broad lanes

This commit is contained in:
Tianyi Cui
2026-07-06 02:22:22 +08:00
parent c64eca451c
commit 7cd4868056
9 changed files with 98 additions and 22 deletions

View File

@@ -18,10 +18,30 @@ env:
jobs:
node-24:
runs-on: ubuntu-latest
name: node 24
name: node 24 / ${{ matrix.lane }}
env:
DSH_GATE_CONCURRENCY: '8'
DSH_PUBLINT_CONCURRENCY: '8'
DSH_GATE_CONCURRENCY: ${{ matrix.gate_concurrency }}
DSH_PUBLINT_CONCURRENCY: ${{ matrix.publint_concurrency }}
strategy:
fail-fast: false
matrix:
include:
- lane: static
command: pnpm run check:ci:static
gate_concurrency: '4'
publint_concurrency: '8'
- lane: coverage
command: pnpm run check:ci:coverage
gate_concurrency: '1'
publint_concurrency: '8'
- lane: snapshot
command: pnpm run check:ci:snapshot
gate_concurrency: '1'
publint_concurrency: '8'
- lane: artifacts
command: pnpm run check:ci:artifacts
gate_concurrency: '3'
publint_concurrency: '8'
steps:
- uses: actions/checkout@v6
@@ -47,7 +67,7 @@ jobs:
run: pnpm install --frozen-lockfile
- name: Run gates
run: pnpm run check:ci
run: ${{ matrix.command }}
node-compat:
runs-on: ubuntu-latest

View File

@@ -108,5 +108,5 @@ jobs:
env:
DEEPSEEK_API_KEY: ${{ secrets.DEEPSEEK_API_KEY_EXTERNAL }}
DEEPSEEK_BASE_URL: https://api.deepseek.com
DSH_E2E_MAX_WORKERS: 8
DSH_E2E_MAX_WORKERS: 12
run: pnpm run test:e2e