Skip to content

Commit fef3d8e

Browse files
committed
make build step run on a smaller resource & run ts-check in series
1 parent 3300000 commit fef3d8e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

scripts/ci/sandboxes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function defineSandboxJob_build({
3333
() => ({
3434
executor: {
3535
name: 'sb_node_22_classic',
36-
class: 'large',
36+
class: 'medium+',
3737
},
3838
steps: [
3939
...workflow.restoreLinux(),

scripts/tasks/check.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ import { exec } from '../utils/exec';
44
import { maxConcurrentTasks } from '../utils/maxConcurrentTasks';
55

66
// The amount of VCPUs for the check task on CI is 4 (large resource)
7-
const amountOfVCPUs = 3;
87

9-
const parallel = `--parallel=${process.env.CI ? amountOfVCPUs - 1 : maxConcurrentTasks}`;
8+
const parallel = process.env.CI ? `--parallel=${maxConcurrentTasks}` : '';
109

1110
const linkCommand = `yarn nx run-many -t check ${parallel}`;
1211
const nolinkCommand = `yarn nx run-many -t check -c production ${parallel}`;

0 commit comments

Comments
 (0)