polyci 0.1.8 → 0.1.9

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 (2) hide show
  1. package/dist/main.js +5 -3
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -194,6 +194,7 @@ function appendModuleBuildJob(lines, module) {
194
194
  lines.push(` artifacts:`);
195
195
  lines.push(` paths:`);
196
196
  lines.push(` - ${module.modulePath}/dist`);
197
+ lines.push(` - ${module.modulePath}/node_modules`);
197
198
  lines.push(` - ${module.modulePath}/polyci.env`);
198
199
  lines.push(` expire_in: 1 day`);
199
200
  lines.push(``);
@@ -216,7 +217,7 @@ function appendModuleTestJob(lines, module) {
216
217
  lines.push(` - source "ci/${module.moduleType}/test.sh"`);
217
218
  lines.push(` artifacts:`);
218
219
  lines.push(` paths:`);
219
- lines.push(` - ${module.modulePath}/dist`);
220
+ // lines.push(` - ${module.modulePath}/dist`);
220
221
  lines.push(` - ${module.modulePath}/polyci.env`);
221
222
  lines.push(``);
222
223
  }
@@ -268,7 +269,7 @@ function appendModuleReleaseJob(lines, module, tagPattern, branchTagPattern, mai
268
269
  lines.push(` fi`);
269
270
  lines.push(` artifacts:`);
270
271
  lines.push(` paths:`);
271
- lines.push(` - ${module.modulePath}/dist`);
272
+ // lines.push(` - ${module.modulePath}/dist`);
272
273
  lines.push(` - ${module.modulePath}/polyci.env`);
273
274
  lines.push(` expire_in: 1 day`);
274
275
  lines.push(``);
@@ -326,7 +327,7 @@ function appendGlobalReleaseJob(lines, modules) {
326
327
  lines.push(` artifacts:`);
327
328
  lines.push(` paths:`);
328
329
  for (const module of modules) {
329
- lines.push(` - ${module.modulePath}/dist`);
330
+ // lines.push(` - ${module.modulePath}/dist`);
330
331
  lines.push(` - ${module.modulePath}/polyci.env`);
331
332
  lines.push(` - ${module.modulePath}/package.json`);
332
333
  }
@@ -340,6 +341,7 @@ function appendModulePublishJob(lines, module) {
340
341
  lines.push(` - changes:`);
341
342
  lines.push(` - ${module.modulePath}/**/*`);
342
343
  lines.push(` needs:`);
344
+ lines.push(` - job: ${module.moduleName}-build`);
343
345
  lines.push(` - job: release`);
344
346
  lines.push(` image: $IMAGE_NODE`);
345
347
  lines.push(` script:`);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "polyci",
3
3
  "description": "Monorepo CI/CD utilities.",
4
- "version": "0.1.8",
4
+ "version": "0.1.9",
5
5
  "type": "module",
6
6
  "private": false,
7
7
  "author": "Alexander Tsarev",