@catladder/pipeline 1.153.1 → 1.154.0

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.
Files changed (153) hide show
  1. package/dist/build/artifacts/createBuildJobArtifact.d.ts +3 -0
  2. package/dist/build/artifacts/createBuildJobArtifact.js +97 -0
  3. package/dist/build/base/createAppBuildJob.d.ts +3 -3
  4. package/dist/build/base/createAppBuildJob.js +9 -15
  5. package/dist/build/base/index.d.ts +6 -2
  6. package/dist/build/base/index.js +14 -5
  7. package/dist/build/base/writeDotEnv.js +2 -1
  8. package/dist/build/custom/__tests__/testJob.test.js +1 -1
  9. package/dist/build/custom/buildJob.js +3 -10
  10. package/dist/build/docker.js +3 -3
  11. package/dist/build/index.d.ts +13 -6
  12. package/dist/build/index.js +29 -7
  13. package/dist/build/node/buildJob.d.ts +7 -2
  14. package/dist/build/node/buildJob.js +40 -33
  15. package/dist/build/node/cache.d.ts +2 -2
  16. package/dist/build/node/cache.js +8 -4
  17. package/dist/build/node/index.d.ts +2 -2
  18. package/dist/build/node/meteor.js +3 -6
  19. package/dist/build/node/testJob.d.ts +3 -2
  20. package/dist/build/node/testJob.js +9 -4
  21. package/dist/build/node/yarn.js +1 -1
  22. package/dist/build/rails/build.d.ts +1 -1
  23. package/dist/build/rails/build.js +7 -2
  24. package/dist/build/rails/test.d.ts +1 -1
  25. package/dist/build/rails/test.js +5 -0
  26. package/dist/build/sbom.js +3 -2
  27. package/dist/build/types.d.ts +48 -4
  28. package/dist/build/types.js +7 -1
  29. package/dist/bundles/catladder-gitlab/index.js +2 -2
  30. package/dist/constants.js +1 -1
  31. package/dist/context/createAllComponentsContext.d.ts +12 -0
  32. package/dist/context/createAllComponentsContext.js +159 -0
  33. package/dist/context/createComponentContext.d.ts +1 -5
  34. package/dist/context/createComponentContext.js +82 -20
  35. package/dist/context/createWorkspaceContext.d.ts +16 -0
  36. package/dist/context/createWorkspaceContext.js +173 -0
  37. package/dist/context/getBuildInfoVariables.d.ts +1 -1
  38. package/dist/context/getEnvironmentContext.d.ts +1 -1
  39. package/dist/context/getEnvironmentVariables.d.ts +2 -2
  40. package/dist/context/getEnvironmentVariables.js +5 -4
  41. package/dist/context/getLabels.js +4 -4
  42. package/dist/deploy/base/deploy.d.ts +1 -1
  43. package/dist/deploy/base/deploy.js +18 -5
  44. package/dist/deploy/cloudRun/artifactsRegistry.js +2 -2
  45. package/dist/deploy/cloudRun/createJobs/common.d.ts +4 -4
  46. package/dist/deploy/cloudRun/index.d.ts +2 -2
  47. package/dist/deploy/custom/index.d.ts +2 -2
  48. package/dist/deploy/dockerTag/index.d.ts +2 -2
  49. package/dist/deploy/index.d.ts +7 -7
  50. package/dist/deploy/kubernetes/additionalSecretKeys.d.ts +3 -1
  51. package/dist/deploy/kubernetes/cloudSql/index.js +1 -1
  52. package/dist/deploy/kubernetes/deployJob.js +2 -2
  53. package/dist/deploy/kubernetes/index.d.ts +2 -2
  54. package/dist/deploy/sbom.d.ts +1 -1
  55. package/dist/deploy/sbom.js +4 -3
  56. package/dist/deploy/types/index.d.ts +3 -3
  57. package/dist/pipeline/createAllJobs.d.ts +12 -10
  58. package/dist/pipeline/createAllJobs.js +94 -51
  59. package/dist/pipeline/createJobsForComponent.js +2 -3
  60. package/dist/pipeline/createJobsForWorkspace.d.ts +3 -0
  61. package/dist/pipeline/createJobsForWorkspace.js +12 -0
  62. package/dist/pipeline/createMainPipeline.js +26 -6
  63. package/dist/pipeline/gitlab/createGitlabJobs.d.ts +3 -16
  64. package/dist/pipeline/gitlab/createGitlabJobs.js +191 -73
  65. package/dist/pipeline/packageManager.d.ts +3 -2
  66. package/dist/pipeline/packageManager.js +43 -15
  67. package/dist/tsconfig.tsbuildinfo +1 -1
  68. package/dist/types/config.d.ts +5 -4
  69. package/dist/types/context.d.ts +77 -12
  70. package/dist/types/context.js +10 -1
  71. package/dist/types/environmentContext.d.ts +5 -6
  72. package/dist/types/jobs.d.ts +5 -0
  73. package/examples/__snapshots__/cloud-run-memory-limit.ts.snap +8 -8
  74. package/examples/__snapshots__/cloud-run-meteor-with-worker.ts.snap +8 -0
  75. package/examples/__snapshots__/cloud-run-no-cpu-throttling.ts.snap +8 -8
  76. package/examples/__snapshots__/cloud-run-no-service.ts.snap +8 -8
  77. package/examples/__snapshots__/cloud-run-non-public.ts.snap +8 -8
  78. package/examples/__snapshots__/cloud-run-post-stop-job.ts.snap +8 -8
  79. package/examples/__snapshots__/cloud-run-service-gen2.ts.snap +8 -8
  80. package/examples/__snapshots__/cloud-run-service-increase-timout.ts.snap +8 -8
  81. package/examples/__snapshots__/cloud-run-service-with-volumes.ts.snap +8 -8
  82. package/examples/__snapshots__/cloud-run-storybook.ts.snap +4 -8
  83. package/examples/__snapshots__/cloud-run-with-ngnix.ts.snap +4 -8
  84. package/examples/__snapshots__/cloud-run-with-sql-reuse-db.ts.snap +16 -16
  85. package/examples/__snapshots__/cloud-run-with-sql.ts.snap +589 -1097
  86. package/examples/__snapshots__/cloud-run-with-worker.ts.snap +8 -8
  87. package/examples/__snapshots__/custom-build-job-with-tests.ts.snap +4 -0
  88. package/examples/__snapshots__/custom-build-job.ts.snap +4 -0
  89. package/examples/__snapshots__/custom-deploy.ts.snap +8 -8
  90. package/examples/__snapshots__/custom-envs.ts.snap +18 -12
  91. package/examples/__snapshots__/custom-sbom-java.ts.snap +4 -0
  92. package/examples/__snapshots__/kubernetes-application-customization.ts.snap +8 -8
  93. package/examples/__snapshots__/kubernetes-with-cloud-sql-legacy.ts.snap +8 -8
  94. package/examples/__snapshots__/kubernetes-with-cloud-sql.ts.snap +8 -8
  95. package/examples/__snapshots__/kubernetes-with-jobs.ts.snap +16 -16
  96. package/examples/__snapshots__/kubernetes-with-mongodb.ts.snap +8 -8
  97. package/examples/__snapshots__/local-dot-env.ts.snap +8 -8
  98. package/examples/__snapshots__/meteor-kubernetes.ts.snap +8 -0
  99. package/examples/__snapshots__/multiline-var.ts.snap +16 -16
  100. package/examples/__snapshots__/native-app.ts.snap +24 -16
  101. package/examples/__snapshots__/node-build-with-custom-image.ts.snap +8 -8
  102. package/examples/__snapshots__/node-build-with-docker-additions.ts.snap +8 -8
  103. package/examples/__snapshots__/wait-for-other-deploy.ts.snap +16 -16
  104. package/examples/cloud-run-with-sql.ts +9 -2
  105. package/package.json +1 -1
  106. package/src/build/artifacts/createBuildJobArtifact.ts +61 -0
  107. package/src/build/base/createAppBuildJob.ts +26 -22
  108. package/src/build/base/index.ts +31 -4
  109. package/src/build/base/writeDotEnv.ts +6 -2
  110. package/src/build/custom/__tests__/testJob.test.ts +4 -4
  111. package/src/build/custom/buildJob.ts +2 -13
  112. package/src/build/docker.ts +6 -7
  113. package/src/build/index.ts +39 -7
  114. package/src/build/node/buildJob.ts +68 -56
  115. package/src/build/node/cache.ts +17 -8
  116. package/src/build/node/index.ts +4 -2
  117. package/src/build/node/meteor.ts +3 -9
  118. package/src/build/node/testJob.ts +21 -7
  119. package/src/build/node/yarn.ts +2 -2
  120. package/src/build/rails/build.ts +14 -4
  121. package/src/build/rails/test.ts +9 -1
  122. package/src/build/sbom.ts +7 -2
  123. package/src/build/types.ts +68 -4
  124. package/src/context/createAllComponentsContext.ts +31 -0
  125. package/src/context/createComponentContext.ts +59 -20
  126. package/src/context/createWorkspaceContext.ts +56 -0
  127. package/src/context/getBuildInfoVariables.ts +2 -1
  128. package/src/context/getEnvironmentContext.ts +2 -2
  129. package/src/context/getEnvironmentVariables.ts +12 -6
  130. package/src/context/getLabels.ts +2 -2
  131. package/src/deploy/base/deploy.ts +33 -7
  132. package/src/deploy/cloudRun/artifactsRegistry.ts +2 -3
  133. package/src/deploy/cloudRun/createJobs/common.ts +4 -4
  134. package/src/deploy/cloudRun/index.ts +68 -67
  135. package/src/deploy/custom/index.ts +2 -2
  136. package/src/deploy/dockerTag/index.ts +8 -7
  137. package/src/deploy/index.ts +11 -9
  138. package/src/deploy/kubernetes/additionalSecretKeys.ts +3 -1
  139. package/src/deploy/kubernetes/cloudSql/index.ts +1 -1
  140. package/src/deploy/kubernetes/deployJob.ts +2 -2
  141. package/src/deploy/kubernetes/index.ts +42 -41
  142. package/src/deploy/sbom.ts +9 -4
  143. package/src/pipeline/createAllJobs.ts +56 -55
  144. package/src/pipeline/createChildPipeline.ts +1 -0
  145. package/src/pipeline/createJobsForComponent.ts +5 -4
  146. package/src/pipeline/createJobsForWorkspace.ts +12 -0
  147. package/src/pipeline/createMainPipeline.ts +38 -23
  148. package/src/pipeline/gitlab/createGitlabJobs.ts +283 -119
  149. package/src/pipeline/packageManager.ts +25 -9
  150. package/src/types/config.ts +4 -1
  151. package/src/types/context.ts +105 -11
  152. package/src/types/environmentContext.ts +6 -7
  153. package/src/types/jobs.ts +3 -1
@@ -1,13 +1,12 @@
1
1
  import type { StringOrBashExpression } from "../bash/BashExpression";
2
- import type { BuildConfigGeneric, BuildConfigType } from "../build";
3
- import type { DeployConfigGeneric } from "../deploy";
4
- import type { DeployConfigType } from "../deploy";
2
+ import type { BuildConfig } from "../build";
3
+ import type { DeployConfig } from "../deploy";
5
4
  import type { Config, EnvConfigWithComponent, EnvType } from "./config";
6
5
  import type { PipelineType } from "./pipeline";
7
- export type EnvironmentContext<B extends BuildConfigType, D extends DeployConfigType> = {
6
+ export type EnvironmentContext<B extends BuildConfig = BuildConfig, D extends DeployConfig = DeployConfig> = {
8
7
  envConfigRaw: EnvConfigWithComponent;
9
- buildConfigRaw: false | BuildConfigGeneric<B>;
10
- deployConfigRaw: false | DeployConfigGeneric<D>;
8
+ buildConfigRaw: false | B;
9
+ deployConfigRaw: false | D;
11
10
  env: string;
12
11
  envType: EnvType;
13
12
  componentName: string;
@@ -6,6 +6,10 @@ export type CatladderJobNeed = string | {
6
6
  job: string;
7
7
  artifacts: boolean;
8
8
  componentName?: string;
9
+ } | {
10
+ job: string;
11
+ artifacts: boolean;
12
+ workspaceName: string;
9
13
  };
10
14
  export type CatladderJobEnvironmentConfig = {
11
15
  action?: GitlabEnvironment["action"];
@@ -38,6 +42,7 @@ export type CatladderJob<S = BaseStage> = {
38
42
  needsStages?: {
39
43
  stage: S;
40
44
  artifacts?: boolean;
45
+ workspaceName?: string;
41
46
  }[];
42
47
  /**
43
48
  * does this require another job (from the same component)?
@@ -62,8 +62,8 @@ exports[`matches snapshot 1`] = `
62
62
  "expire_in": "1 day",
63
63
  "paths": [
64
64
  "api/__build_info.json",
65
- "api/dist",
66
65
  "api/.next",
66
+ "api/dist",
67
67
  ],
68
68
  "reports": {
69
69
  "junit": undefined,
@@ -88,7 +88,7 @@ exports[`matches snapshot 1`] = `
88
88
  {
89
89
  "key": "api-next-cache",
90
90
  "paths": [
91
- "api/.next/cache/",
91
+ "api/.next/cache",
92
92
  ],
93
93
  "policy": "pull-push",
94
94
  },
@@ -635,8 +635,8 @@ EOF
635
635
  "expire_in": "1 day",
636
636
  "paths": [
637
637
  "api/__build_info.json",
638
- "api/dist",
639
638
  "api/.next",
639
+ "api/dist",
640
640
  ],
641
641
  "reports": {
642
642
  "junit": undefined,
@@ -661,7 +661,7 @@ EOF
661
661
  {
662
662
  "key": "api-next-cache",
663
663
  "paths": [
664
- "api/.next/cache/",
664
+ "api/.next/cache",
665
665
  ],
666
666
  "policy": "pull-push",
667
667
  },
@@ -1162,8 +1162,8 @@ EOF
1162
1162
  "expire_in": "1 day",
1163
1163
  "paths": [
1164
1164
  "api/__build_info.json",
1165
- "api/dist",
1166
1165
  "api/.next",
1166
+ "api/dist",
1167
1167
  ],
1168
1168
  "reports": {
1169
1169
  "junit": undefined,
@@ -1188,7 +1188,7 @@ EOF
1188
1188
  {
1189
1189
  "key": "api-next-cache",
1190
1190
  "paths": [
1191
- "api/.next/cache/",
1191
+ "api/.next/cache",
1192
1192
  ],
1193
1193
  "policy": "pull-push",
1194
1194
  },
@@ -1249,8 +1249,8 @@ EOF
1249
1249
  "expire_in": "1 day",
1250
1250
  "paths": [
1251
1251
  "api/__build_info.json",
1252
- "api/dist",
1253
1252
  "api/.next",
1253
+ "api/dist",
1254
1254
  ],
1255
1255
  "reports": {
1256
1256
  "junit": undefined,
@@ -1275,7 +1275,7 @@ EOF
1275
1275
  {
1276
1276
  "key": "api-next-cache",
1277
1277
  "paths": [
1278
- "api/.next/cache/",
1278
+ "api/.next/cache",
1279
1279
  ],
1280
1280
  "policy": "pull-push",
1281
1281
  },
@@ -59,6 +59,7 @@ exports[`matches snapshot 1`] = `
59
59
  },
60
60
  "web 🔨 app | dev ": {
61
61
  "artifacts": {
62
+ "expire_in": "1 day",
62
63
  "paths": [
63
64
  "web/__build_info.json",
64
65
  "web/dist",
@@ -66,6 +67,7 @@ exports[`matches snapshot 1`] = `
66
67
  "reports": {
67
68
  "junit": undefined,
68
69
  },
70
+ "when": "always",
69
71
  },
70
72
  "cache": [
71
73
  {
@@ -624,6 +626,7 @@ EOF
624
626
  },
625
627
  "web 🔨 app | review ": {
626
628
  "artifacts": {
629
+ "expire_in": "1 day",
627
630
  "paths": [
628
631
  "web/__build_info.json",
629
632
  "web/dist",
@@ -631,6 +634,7 @@ EOF
631
634
  "reports": {
632
635
  "junit": undefined,
633
636
  },
637
+ "when": "always",
634
638
  },
635
639
  "cache": [
636
640
  {
@@ -1143,6 +1147,7 @@ EOF
1143
1147
  "jobs": {
1144
1148
  "web 🔨 app | prod ": {
1145
1149
  "artifacts": {
1150
+ "expire_in": "1 day",
1146
1151
  "paths": [
1147
1152
  "web/__build_info.json",
1148
1153
  "web/dist",
@@ -1150,6 +1155,7 @@ EOF
1150
1155
  "reports": {
1151
1156
  "junit": undefined,
1152
1157
  },
1158
+ "when": "always",
1153
1159
  },
1154
1160
  "cache": [
1155
1161
  {
@@ -1235,6 +1241,7 @@ EOF
1235
1241
  },
1236
1242
  "web 🔨 app | stage ": {
1237
1243
  "artifacts": {
1244
+ "expire_in": "1 day",
1238
1245
  "paths": [
1239
1246
  "web/__build_info.json",
1240
1247
  "web/dist",
@@ -1242,6 +1249,7 @@ EOF
1242
1249
  "reports": {
1243
1250
  "junit": undefined,
1244
1251
  },
1252
+ "when": "always",
1245
1253
  },
1246
1254
  "cache": [
1247
1255
  {
@@ -62,8 +62,8 @@ exports[`matches snapshot 1`] = `
62
62
  "expire_in": "1 day",
63
63
  "paths": [
64
64
  "api/__build_info.json",
65
- "api/dist",
66
65
  "api/.next",
66
+ "api/dist",
67
67
  ],
68
68
  "reports": {
69
69
  "junit": undefined,
@@ -88,7 +88,7 @@ exports[`matches snapshot 1`] = `
88
88
  {
89
89
  "key": "api-next-cache",
90
90
  "paths": [
91
- "api/.next/cache/",
91
+ "api/.next/cache",
92
92
  ],
93
93
  "policy": "pull-push",
94
94
  },
@@ -635,8 +635,8 @@ EOF
635
635
  "expire_in": "1 day",
636
636
  "paths": [
637
637
  "api/__build_info.json",
638
- "api/dist",
639
638
  "api/.next",
639
+ "api/dist",
640
640
  ],
641
641
  "reports": {
642
642
  "junit": undefined,
@@ -661,7 +661,7 @@ EOF
661
661
  {
662
662
  "key": "api-next-cache",
663
663
  "paths": [
664
- "api/.next/cache/",
664
+ "api/.next/cache",
665
665
  ],
666
666
  "policy": "pull-push",
667
667
  },
@@ -1162,8 +1162,8 @@ EOF
1162
1162
  "expire_in": "1 day",
1163
1163
  "paths": [
1164
1164
  "api/__build_info.json",
1165
- "api/dist",
1166
1165
  "api/.next",
1166
+ "api/dist",
1167
1167
  ],
1168
1168
  "reports": {
1169
1169
  "junit": undefined,
@@ -1188,7 +1188,7 @@ EOF
1188
1188
  {
1189
1189
  "key": "api-next-cache",
1190
1190
  "paths": [
1191
- "api/.next/cache/",
1191
+ "api/.next/cache",
1192
1192
  ],
1193
1193
  "policy": "pull-push",
1194
1194
  },
@@ -1249,8 +1249,8 @@ EOF
1249
1249
  "expire_in": "1 day",
1250
1250
  "paths": [
1251
1251
  "api/__build_info.json",
1252
- "api/dist",
1253
1252
  "api/.next",
1253
+ "api/dist",
1254
1254
  ],
1255
1255
  "reports": {
1256
1256
  "junit": undefined,
@@ -1275,7 +1275,7 @@ EOF
1275
1275
  {
1276
1276
  "key": "api-next-cache",
1277
1277
  "paths": [
1278
- "api/.next/cache/",
1278
+ "api/.next/cache",
1279
1279
  ],
1280
1280
  "policy": "pull-push",
1281
1281
  },
@@ -62,8 +62,8 @@ exports[`matches snapshot 1`] = `
62
62
  "expire_in": "1 day",
63
63
  "paths": [
64
64
  "app/__build_info.json",
65
- "app/dist",
66
65
  "app/.next",
66
+ "app/dist",
67
67
  ],
68
68
  "reports": {
69
69
  "junit": undefined,
@@ -88,7 +88,7 @@ exports[`matches snapshot 1`] = `
88
88
  {
89
89
  "key": "api-next-cache",
90
90
  "paths": [
91
- "app/.next/cache/",
91
+ "app/.next/cache",
92
92
  ],
93
93
  "policy": "pull-push",
94
94
  },
@@ -648,8 +648,8 @@ EOF
648
648
  "expire_in": "1 day",
649
649
  "paths": [
650
650
  "app/__build_info.json",
651
- "app/dist",
652
651
  "app/.next",
652
+ "app/dist",
653
653
  ],
654
654
  "reports": {
655
655
  "junit": undefined,
@@ -674,7 +674,7 @@ EOF
674
674
  {
675
675
  "key": "api-next-cache",
676
676
  "paths": [
677
- "app/.next/cache/",
677
+ "app/.next/cache",
678
678
  ],
679
679
  "policy": "pull-push",
680
680
  },
@@ -1188,8 +1188,8 @@ EOF
1188
1188
  "expire_in": "1 day",
1189
1189
  "paths": [
1190
1190
  "app/__build_info.json",
1191
- "app/dist",
1192
1191
  "app/.next",
1192
+ "app/dist",
1193
1193
  ],
1194
1194
  "reports": {
1195
1195
  "junit": undefined,
@@ -1214,7 +1214,7 @@ EOF
1214
1214
  {
1215
1215
  "key": "api-next-cache",
1216
1216
  "paths": [
1217
- "app/.next/cache/",
1217
+ "app/.next/cache",
1218
1218
  ],
1219
1219
  "policy": "pull-push",
1220
1220
  },
@@ -1276,8 +1276,8 @@ EOF
1276
1276
  "expire_in": "1 day",
1277
1277
  "paths": [
1278
1278
  "app/__build_info.json",
1279
- "app/dist",
1280
1279
  "app/.next",
1280
+ "app/dist",
1281
1281
  ],
1282
1282
  "reports": {
1283
1283
  "junit": undefined,
@@ -1302,7 +1302,7 @@ EOF
1302
1302
  {
1303
1303
  "key": "api-next-cache",
1304
1304
  "paths": [
1305
- "app/.next/cache/",
1305
+ "app/.next/cache",
1306
1306
  ],
1307
1307
  "policy": "pull-push",
1308
1308
  },
@@ -62,8 +62,8 @@ exports[`matches snapshot 1`] = `
62
62
  "expire_in": "1 day",
63
63
  "paths": [
64
64
  "api/__build_info.json",
65
- "api/dist",
66
65
  "api/.next",
66
+ "api/dist",
67
67
  ],
68
68
  "reports": {
69
69
  "junit": undefined,
@@ -88,7 +88,7 @@ exports[`matches snapshot 1`] = `
88
88
  {
89
89
  "key": "api-next-cache",
90
90
  "paths": [
91
- "api/.next/cache/",
91
+ "api/.next/cache",
92
92
  ],
93
93
  "policy": "pull-push",
94
94
  },
@@ -635,8 +635,8 @@ EOF
635
635
  "expire_in": "1 day",
636
636
  "paths": [
637
637
  "api/__build_info.json",
638
- "api/dist",
639
638
  "api/.next",
639
+ "api/dist",
640
640
  ],
641
641
  "reports": {
642
642
  "junit": undefined,
@@ -661,7 +661,7 @@ EOF
661
661
  {
662
662
  "key": "api-next-cache",
663
663
  "paths": [
664
- "api/.next/cache/",
664
+ "api/.next/cache",
665
665
  ],
666
666
  "policy": "pull-push",
667
667
  },
@@ -1162,8 +1162,8 @@ EOF
1162
1162
  "expire_in": "1 day",
1163
1163
  "paths": [
1164
1164
  "api/__build_info.json",
1165
- "api/dist",
1166
1165
  "api/.next",
1166
+ "api/dist",
1167
1167
  ],
1168
1168
  "reports": {
1169
1169
  "junit": undefined,
@@ -1188,7 +1188,7 @@ EOF
1188
1188
  {
1189
1189
  "key": "api-next-cache",
1190
1190
  "paths": [
1191
- "api/.next/cache/",
1191
+ "api/.next/cache",
1192
1192
  ],
1193
1193
  "policy": "pull-push",
1194
1194
  },
@@ -1249,8 +1249,8 @@ EOF
1249
1249
  "expire_in": "1 day",
1250
1250
  "paths": [
1251
1251
  "api/__build_info.json",
1252
- "api/dist",
1253
1252
  "api/.next",
1253
+ "api/dist",
1254
1254
  ],
1255
1255
  "reports": {
1256
1256
  "junit": undefined,
@@ -1275,7 +1275,7 @@ EOF
1275
1275
  {
1276
1276
  "key": "api-next-cache",
1277
1277
  "paths": [
1278
- "api/.next/cache/",
1278
+ "api/.next/cache",
1279
1279
  ],
1280
1280
  "policy": "pull-push",
1281
1281
  },
@@ -62,8 +62,8 @@ exports[`matches snapshot 1`] = `
62
62
  "expire_in": "1 day",
63
63
  "paths": [
64
64
  "api/__build_info.json",
65
- "api/dist",
66
65
  "api/.next",
66
+ "api/dist",
67
67
  ],
68
68
  "reports": {
69
69
  "junit": undefined,
@@ -88,7 +88,7 @@ exports[`matches snapshot 1`] = `
88
88
  {
89
89
  "key": "api-next-cache",
90
90
  "paths": [
91
- "api/.next/cache/",
91
+ "api/.next/cache",
92
92
  ],
93
93
  "policy": "pull-push",
94
94
  },
@@ -635,8 +635,8 @@ EOF
635
635
  "expire_in": "1 day",
636
636
  "paths": [
637
637
  "api/__build_info.json",
638
- "api/dist",
639
638
  "api/.next",
639
+ "api/dist",
640
640
  ],
641
641
  "reports": {
642
642
  "junit": undefined,
@@ -661,7 +661,7 @@ EOF
661
661
  {
662
662
  "key": "api-next-cache",
663
663
  "paths": [
664
- "api/.next/cache/",
664
+ "api/.next/cache",
665
665
  ],
666
666
  "policy": "pull-push",
667
667
  },
@@ -1173,8 +1173,8 @@ EOF
1173
1173
  "expire_in": "1 day",
1174
1174
  "paths": [
1175
1175
  "api/__build_info.json",
1176
- "api/dist",
1177
1176
  "api/.next",
1177
+ "api/dist",
1178
1178
  ],
1179
1179
  "reports": {
1180
1180
  "junit": undefined,
@@ -1199,7 +1199,7 @@ EOF
1199
1199
  {
1200
1200
  "key": "api-next-cache",
1201
1201
  "paths": [
1202
- "api/.next/cache/",
1202
+ "api/.next/cache",
1203
1203
  ],
1204
1204
  "policy": "pull-push",
1205
1205
  },
@@ -1260,8 +1260,8 @@ EOF
1260
1260
  "expire_in": "1 day",
1261
1261
  "paths": [
1262
1262
  "api/__build_info.json",
1263
- "api/dist",
1264
1263
  "api/.next",
1264
+ "api/dist",
1265
1265
  ],
1266
1266
  "reports": {
1267
1267
  "junit": undefined,
@@ -1286,7 +1286,7 @@ EOF
1286
1286
  {
1287
1287
  "key": "api-next-cache",
1288
1288
  "paths": [
1289
- "api/.next/cache/",
1289
+ "api/.next/cache",
1290
1290
  ],
1291
1291
  "policy": "pull-push",
1292
1292
  },
@@ -62,8 +62,8 @@ exports[`matches snapshot 1`] = `
62
62
  "expire_in": "1 day",
63
63
  "paths": [
64
64
  "api/__build_info.json",
65
- "api/dist",
66
65
  "api/.next",
66
+ "api/dist",
67
67
  ],
68
68
  "reports": {
69
69
  "junit": undefined,
@@ -88,7 +88,7 @@ exports[`matches snapshot 1`] = `
88
88
  {
89
89
  "key": "api-next-cache",
90
90
  "paths": [
91
- "api/.next/cache/",
91
+ "api/.next/cache",
92
92
  ],
93
93
  "policy": "pull-push",
94
94
  },
@@ -635,8 +635,8 @@ EOF
635
635
  "expire_in": "1 day",
636
636
  "paths": [
637
637
  "api/__build_info.json",
638
- "api/dist",
639
638
  "api/.next",
639
+ "api/dist",
640
640
  ],
641
641
  "reports": {
642
642
  "junit": undefined,
@@ -661,7 +661,7 @@ EOF
661
661
  {
662
662
  "key": "api-next-cache",
663
663
  "paths": [
664
- "api/.next/cache/",
664
+ "api/.next/cache",
665
665
  ],
666
666
  "policy": "pull-push",
667
667
  },
@@ -1162,8 +1162,8 @@ EOF
1162
1162
  "expire_in": "1 day",
1163
1163
  "paths": [
1164
1164
  "api/__build_info.json",
1165
- "api/dist",
1166
1165
  "api/.next",
1166
+ "api/dist",
1167
1167
  ],
1168
1168
  "reports": {
1169
1169
  "junit": undefined,
@@ -1188,7 +1188,7 @@ EOF
1188
1188
  {
1189
1189
  "key": "api-next-cache",
1190
1190
  "paths": [
1191
- "api/.next/cache/",
1191
+ "api/.next/cache",
1192
1192
  ],
1193
1193
  "policy": "pull-push",
1194
1194
  },
@@ -1249,8 +1249,8 @@ EOF
1249
1249
  "expire_in": "1 day",
1250
1250
  "paths": [
1251
1251
  "api/__build_info.json",
1252
- "api/dist",
1253
1252
  "api/.next",
1253
+ "api/dist",
1254
1254
  ],
1255
1255
  "reports": {
1256
1256
  "junit": undefined,
@@ -1275,7 +1275,7 @@ EOF
1275
1275
  {
1276
1276
  "key": "api-next-cache",
1277
1277
  "paths": [
1278
- "api/.next/cache/",
1278
+ "api/.next/cache",
1279
1279
  ],
1280
1280
  "policy": "pull-push",
1281
1281
  },
@@ -62,8 +62,8 @@ exports[`matches snapshot 1`] = `
62
62
  "expire_in": "1 day",
63
63
  "paths": [
64
64
  "api/__build_info.json",
65
- "api/dist",
66
65
  "api/.next",
66
+ "api/dist",
67
67
  ],
68
68
  "reports": {
69
69
  "junit": undefined,
@@ -88,7 +88,7 @@ exports[`matches snapshot 1`] = `
88
88
  {
89
89
  "key": "api-next-cache",
90
90
  "paths": [
91
- "api/.next/cache/",
91
+ "api/.next/cache",
92
92
  ],
93
93
  "policy": "pull-push",
94
94
  },
@@ -635,8 +635,8 @@ EOF
635
635
  "expire_in": "1 day",
636
636
  "paths": [
637
637
  "api/__build_info.json",
638
- "api/dist",
639
638
  "api/.next",
639
+ "api/dist",
640
640
  ],
641
641
  "reports": {
642
642
  "junit": undefined,
@@ -661,7 +661,7 @@ EOF
661
661
  {
662
662
  "key": "api-next-cache",
663
663
  "paths": [
664
- "api/.next/cache/",
664
+ "api/.next/cache",
665
665
  ],
666
666
  "policy": "pull-push",
667
667
  },
@@ -1162,8 +1162,8 @@ EOF
1162
1162
  "expire_in": "1 day",
1163
1163
  "paths": [
1164
1164
  "api/__build_info.json",
1165
- "api/dist",
1166
1165
  "api/.next",
1166
+ "api/dist",
1167
1167
  ],
1168
1168
  "reports": {
1169
1169
  "junit": undefined,
@@ -1188,7 +1188,7 @@ EOF
1188
1188
  {
1189
1189
  "key": "api-next-cache",
1190
1190
  "paths": [
1191
- "api/.next/cache/",
1191
+ "api/.next/cache",
1192
1192
  ],
1193
1193
  "policy": "pull-push",
1194
1194
  },
@@ -1249,8 +1249,8 @@ EOF
1249
1249
  "expire_in": "1 day",
1250
1250
  "paths": [
1251
1251
  "api/__build_info.json",
1252
- "api/dist",
1253
1252
  "api/.next",
1253
+ "api/dist",
1254
1254
  ],
1255
1255
  "reports": {
1256
1256
  "junit": undefined,
@@ -1275,7 +1275,7 @@ EOF
1275
1275
  {
1276
1276
  "key": "api-next-cache",
1277
1277
  "paths": [
1278
- "api/.next/cache/",
1278
+ "api/.next/cache",
1279
1279
  ],
1280
1280
  "policy": "pull-push",
1281
1281
  },