@catladder/pipeline 1.155.0 → 1.156.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.
@@ -68,7 +68,7 @@ var createNodeBuildJobDefinition = function (context) {
68
68
  return {
69
69
  image: (_a = buildConfig.jobImage) !== null && _a !== void 0 ? _a : defaultImage,
70
70
  runnerVariables: constants_1.NODE_RUNNER_BUILD_VARIABLES,
71
- cache: __spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read((_b = (0, utils_1.ensureArray)(buildConfig.jobCache)) !== null && _b !== void 0 ? _b : []), false), __read((0, cache_1.getNodeCache)(context)), false), __read((0, cache_1.getNextCache)(context)), false), __read(context.type === "workspace" ? (0, cache_1.getWorkspaceDefaultCaches)(context) : []), false),
71
+ cache: __spreadArray(__spreadArray(__spreadArray([], __read((_b = (0, utils_1.ensureArray)(buildConfig.jobCache)) !== null && _b !== void 0 ? _b : []), false), __read((0, cache_1.getNodeCache)(context)), false), __read((0, cache_1.getNextCache)(context)), false),
72
72
  script: __spreadArray(__spreadArray([], __read(yarnInstall), false), __read((_c = (0, utils_1.ensureArray)(buildConfig.buildCommand)) !== null && _c !== void 0 ? _c : []), false),
73
73
  jobTags: buildConfig.jobTags
74
74
  };
@@ -82,7 +82,7 @@ var getNodeCache = function (context, policy) {
82
82
  if (policy === void 0) {
83
83
  policy = "pull-push";
84
84
  }
85
- return __spreadArray(__spreadArray([], __read((0, exports.getYarnCache)(context, policy)), false), __read((0, exports.getNodeModulesCache)(context, policy)), false);
85
+ return __spreadArray(__spreadArray(__spreadArray([], __read((0, exports.getYarnCache)(context, policy)), false), __read((0, exports.getNodeModulesCache)(context, policy)), false), __read(context.type === "workspace" ? (0, exports.getWorkspaceDefaultCaches)(context) : []), false);
86
86
  };
87
87
  exports.getNodeCache = getNodeCache;
88
88
  var getNextCache = function (context) {