test(ci): preserve worker limits with required publisher smoke

This commit is contained in:
winewill committed 2026-11-05 17:49:30 +08:00
1 parent 939d83ab9c
commit fe91df778b
3 files changed
+17 -9

No files matched your search

+2 -1
View File
@@ -48,7 +48,7 @@ jobs:
- uses: pnpm/[email protected]
with:
package_json_file: publisher-isolated/package.json
dest: ${{ runner.temp }}/setup-pnpm-publisher-${{ github.run_id }}-${{ github.run_attempt }}-${{ github.job }}
dest: ${{ runner.temp }}/setup-pnpm-js-${{ github.run_id }}-${{ github.run_attempt }}-${{ github.job }}
- name: Install only publisher production dependencies
working-directory: publisher-isolated
run: pnpm --filter @deepseek-ai/dsh-desktop-publisher --fail-if-no-match install --prod --frozen-lockfile --ignore-scripts
@@ -63,6 +63,7 @@ jobs:
# Blacksmith uses 2 vCPU for file-serial native tests and 16 for coverage
# and the shared build/observational workspace.
windows-build:
needs: windows-publisher
if: github.event_name == 'pull_request'
runs-on: >-
${{ vars.DSH_CI_FAILOVER_WINDOWS == 'blacksmith' && 'blacksmith-16vcpu-windows-2025'
+3 -1
View File
@@ -21,6 +21,7 @@ concurrency:
jobs:
publisher-isolated:
strategy:
max-parallel: 1
fail-fast: false
matrix:
os: [linux, macos]
@@ -46,7 +47,7 @@ jobs:
- uses: pnpm/[email protected]
with:
package_json_file: publisher-isolated/package.json
dest: ${{ runner.temp }}/setup-pnpm-publisher-${{ github.run_id }}-${{ github.run_attempt }}-${{ github.job }}
dest: ${{ runner.temp }}/setup-pnpm-${{ github.run_id }}-${{ github.run_attempt }}
- name: Install only publisher production dependencies
working-directory: publisher-isolated
run: pnpm --filter @deepseek-ai/dsh-desktop-publisher --fail-if-no-match install --prod --frozen-lockfile --ignore-scripts
@@ -494,6 +495,7 @@ jobs:
node-compat:
needs: publisher-isolated
if: github.event_name == 'pull_request'
# Under the selfhosted leg this job admits only repository-owned PR code
# to the persistent shared VM; the blacksmith branch targets ephemeral