@codedrifters/configulator 0.0.122 → 0.0.123

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -1490,10 +1490,22 @@ var MonorepoProject = class extends import_typescript.TypeScriptAppProject {
1490
1490
  new PnpmWorkspace(this, options.pnpmOptions?.pnpmWorkspaceOptions);
1491
1491
  if (options.turbo) {
1492
1492
  new TurboRepo(this, options.turboOptions);
1493
- this.buildWorkflow?.addPostBuildSteps({
1494
- name: "Build Sub Projects",
1495
- run: `npx projen ${ROOT_CI_TASK_NAME}`
1496
- });
1493
+ this.buildWorkflow?.addPostBuildSteps(
1494
+ {
1495
+ name: "Build Sub Projects",
1496
+ run: `npx projen ${ROOT_CI_TASK_NAME}`
1497
+ },
1498
+ {
1499
+ name: "Upload Turbo runs",
1500
+ if: "always()",
1501
+ uses: "actions/upload-artifact@v4.6.2",
1502
+ with: {
1503
+ name: "turbo-runs",
1504
+ path: ".turbo/runs"
1505
+ },
1506
+ continueOnError: true
1507
+ }
1508
+ );
1497
1509
  }
1498
1510
  if (options.resetTask !== false) {
1499
1511
  const defaultResetTaskOptions = {
@@ -1843,10 +1855,22 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends import_projen10.Compone
1843
1855
  }
1844
1856
  preSynthesize() {
1845
1857
  if (!this.externalWorkflow && TurboRepo.of(this.rootProject)) {
1846
- this.buildWorkflow.addPostBuildSteps({
1847
- name: "Build Sub Projects",
1848
- run: `npx projen ${ROOT_CI_TASK_NAME}`
1849
- });
1858
+ this.buildWorkflow.addPostBuildSteps(
1859
+ {
1860
+ name: "Build Sub Projects",
1861
+ run: `npx projen ${ROOT_CI_TASK_NAME}`
1862
+ },
1863
+ {
1864
+ name: "Upload Turbo runs",
1865
+ if: "always()",
1866
+ uses: "actions/upload-artifact@v4.6.2",
1867
+ with: {
1868
+ name: "turbo-runs",
1869
+ path: ".turbo/runs"
1870
+ },
1871
+ continueOnError: true
1872
+ }
1873
+ );
1850
1874
  }
1851
1875
  super.preSynthesize();
1852
1876
  }