ci: bound Linux gate contention

This commit is contained in:
Tianyi Cui
2026-07-22 20:19:56 +08:00
parent 9b8320cb94
commit dcf9eee3c5
4 changed files with 18 additions and 6 deletions

View File

@@ -36,8 +36,9 @@ jobs:
name: node 24 / complete
env:
DSH_COVERAGE_MAX_WORKERS: '16'
DSH_ESLINT_CONCURRENCY: '32'
DSH_GATE_CONCURRENCY: '12'
DSH_ESLINT_CACHE: '1'
DSH_ESLINT_CONCURRENCY: '16'
DSH_GATE_CONCURRENCY: '8'
DSH_PUBLINT_CONCURRENCY: '16'
DSH_SNAPSHOT_MAX_CONCURRENCY: '8'
steps:
@@ -64,6 +65,13 @@ jobs:
restore-keys: |
${{ runner.os }}-node-${{ env.PRIMARY_NODE_VERSION }}-pnpm-
- uses: actions/cache/restore@v4
with:
path: .cache/eslint
key: ${{ runner.os }}-node-${{ env.PRIMARY_NODE_VERSION }}-eslint-full-${{ hashFiles('pnpm-lock.yaml', 'eslint.config.mjs', 'tsconfig.json', 'packages/*/*/tsconfig.json', 'examples/*/tsconfig.json') }}
restore-keys: |
${{ runner.os }}-node-${{ env.PRIMARY_NODE_VERSION }}-eslint-full-
- name: Install dependencies and prepare bubblewrap
run: |
pnpm install --frozen-lockfile &