@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.mjs CHANGED
@@ -1472,10 +1472,22 @@ var MonorepoProject = class extends TypeScriptAppProject {
1472
1472
  new PnpmWorkspace(this, options.pnpmOptions?.pnpmWorkspaceOptions);
1473
1473
  if (options.turbo) {
1474
1474
  new TurboRepo(this, options.turboOptions);
1475
- this.buildWorkflow?.addPostBuildSteps({
1476
- name: "Build Sub Projects",
1477
- run: `npx projen ${ROOT_CI_TASK_NAME}`
1478
- });
1475
+ this.buildWorkflow?.addPostBuildSteps(
1476
+ {
1477
+ name: "Build Sub Projects",
1478
+ run: `npx projen ${ROOT_CI_TASK_NAME}`
1479
+ },
1480
+ {
1481
+ name: "Upload Turbo runs",
1482
+ if: "always()",
1483
+ uses: "actions/upload-artifact@v4.6.2",
1484
+ with: {
1485
+ name: "turbo-runs",
1486
+ path: ".turbo/runs"
1487
+ },
1488
+ continueOnError: true
1489
+ }
1490
+ );
1479
1491
  }
1480
1492
  if (options.resetTask !== false) {
1481
1493
  const defaultResetTaskOptions = {
@@ -1825,10 +1837,22 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends Component11 {
1825
1837
  }
1826
1838
  preSynthesize() {
1827
1839
  if (!this.externalWorkflow && TurboRepo.of(this.rootProject)) {
1828
- this.buildWorkflow.addPostBuildSteps({
1829
- name: "Build Sub Projects",
1830
- run: `npx projen ${ROOT_CI_TASK_NAME}`
1831
- });
1840
+ this.buildWorkflow.addPostBuildSteps(
1841
+ {
1842
+ name: "Build Sub Projects",
1843
+ run: `npx projen ${ROOT_CI_TASK_NAME}`
1844
+ },
1845
+ {
1846
+ name: "Upload Turbo runs",
1847
+ if: "always()",
1848
+ uses: "actions/upload-artifact@v4.6.2",
1849
+ with: {
1850
+ name: "turbo-runs",
1851
+ path: ".turbo/runs"
1852
+ },
1853
+ continueOnError: true
1854
+ }
1855
+ );
1832
1856
  }
1833
1857
  super.preSynthesize();
1834
1858
  }