Skip to content

Commit eab5dc3

Browse files
committed
chore: update jobs if using NR_RUNNER
1 parent 1be4883 commit eab5dc3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/versioned-security-agent.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ jobs:
8282
run: TEST_CHILD_TIMEOUT=600000 npm run versioned:security
8383
env:
8484
VERSIONED_MODE: --${{ inputs.mode || 'major' }}
85-
JOBS: 4 # 2 per CPU seems to be the sweet spot in GHA (July 2022)
85+
# Run more jobs when using larger runner, otherwise 2 per CPU seems to be the sweet spot in GHA default runners(July 2022)
86+
JOBS: ${{ vars.NR_RUNNER && 16 || 4 }}
8687
SKIP_C8: true
8788

0 commit comments

Comments
 (0)