@catladder/pipeline 1.129.1 → 1.131.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 (30) hide show
  1. package/dist/build/node/testJob.js +2 -2
  2. package/dist/build/node/yarn.js +2 -2
  3. package/dist/bundles/catladder-gitlab/index.js +1 -1
  4. package/dist/constants.js +1 -1
  5. package/dist/tsconfig.tsbuildinfo +1 -1
  6. package/examples/__snapshots__/cloud-run-memory-limit.ts.snap +56 -40
  7. package/examples/__snapshots__/cloud-run-meteor-with-worker.ts.snap +56 -40
  8. package/examples/__snapshots__/cloud-run-no-cpu-throttling.ts.snap +56 -40
  9. package/examples/__snapshots__/cloud-run-non-public.ts.snap +56 -40
  10. package/examples/__snapshots__/cloud-run-post-stop-job.ts.snap +56 -40
  11. package/examples/__snapshots__/cloud-run-with-sql-reuse-db.ts.snap +112 -80
  12. package/examples/__snapshots__/cloud-run-with-sql.ts.snap +112 -80
  13. package/examples/__snapshots__/cloud-run-with-worker.ts.snap +56 -40
  14. package/examples/__snapshots__/custom-build-job-with-tests.ts.snap +8 -8
  15. package/examples/__snapshots__/custom-build-job.ts.snap +8 -8
  16. package/examples/__snapshots__/custom-deploy.ts.snap +56 -40
  17. package/examples/__snapshots__/custom-envs.ts.snap +68 -52
  18. package/examples/__snapshots__/custom-sbom-java.ts.snap +8 -8
  19. package/examples/__snapshots__/kubernetes-application-customization.ts.snap +56 -40
  20. package/examples/__snapshots__/kubernetes-with-cloud-sql-legacy.ts.snap +56 -40
  21. package/examples/__snapshots__/kubernetes-with-cloud-sql.ts.snap +56 -40
  22. package/examples/__snapshots__/kubernetes-with-jobs.ts.snap +112 -80
  23. package/examples/__snapshots__/kubernetes-with-mongodb.ts.snap +56 -40
  24. package/examples/__snapshots__/meteor-kubernetes.ts.snap +56 -40
  25. package/examples/__snapshots__/native-app.ts.snap +112 -80
  26. package/examples/__snapshots__/node-build-with-custom-image.ts.snap +56 -40
  27. package/examples/__snapshots__/wait-for-other-deploy.ts.snap +112 -80
  28. package/package.json +1 -1
  29. package/src/build/node/testJob.ts +3 -1
  30. package/src/build/node/yarn.ts +11 -8
@@ -33,14 +33,18 @@ exports[`matches snapshot 1`] = `
33
33
  ],
34
34
  },
35
35
  "script": [
36
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
37
+ "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
38
+ "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
39
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
36
40
  "cd www",
37
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn prepare[collapsed=true]\\r\\e[0KNode and yarn install"",
38
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
41
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
39
42
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
40
43
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
41
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
44
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
45
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
42
46
  "yarn install --immutable",
43
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn prepare\\r\\e[0K"",
47
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
44
48
  "yarn lint",
45
49
  ],
46
50
  "stage": "test",
@@ -100,18 +104,18 @@ exports[`matches snapshot 1`] = `
100
104
  },
101
105
  "script": [
102
106
  "echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > www/__build_info.json",
103
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
107
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
104
108
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
105
109
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
106
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
110
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
107
111
  "cd www",
108
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn prepare[collapsed=true]\\r\\e[0KNode and yarn install"",
109
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
112
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
110
113
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
111
114
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
112
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
115
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
116
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
113
117
  "yarn install --immutable",
114
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn prepare\\r\\e[0K"",
118
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
115
119
  "yarn build",
116
120
  ],
117
121
  "stage": "build",
@@ -438,14 +442,18 @@ _ALL_ENV_VAR_KEYS: '["ENV_SHORT","APP_DIR","ENV_TYPE","BUILD_INFO_ID","BUILD_INF
438
442
  ],
439
443
  },
440
444
  "script": [
445
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
446
+ "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
447
+ "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
448
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
441
449
  "cd www",
442
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn prepare[collapsed=true]\\r\\e[0KNode and yarn install"",
443
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
450
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
444
451
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
445
452
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
446
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
453
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
454
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
447
455
  "yarn install --immutable",
448
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn prepare\\r\\e[0K"",
456
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
449
457
  "yarn test",
450
458
  ],
451
459
  "stage": "test",
@@ -581,14 +589,18 @@ _ALL_ENV_VAR_KEYS: '["ENV_SHORT","APP_DIR","ENV_TYPE","BUILD_INFO_ID","BUILD_INF
581
589
  ],
582
590
  },
583
591
  "script": [
592
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
593
+ "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
594
+ "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
595
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
584
596
  "cd www",
585
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn prepare[collapsed=true]\\r\\e[0KNode and yarn install"",
586
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
597
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
587
598
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
588
599
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
589
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
600
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
601
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
590
602
  "yarn install --immutable",
591
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn prepare\\r\\e[0K"",
603
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
592
604
  "yarn lint",
593
605
  ],
594
606
  "stage": "test",
@@ -648,18 +660,18 @@ _ALL_ENV_VAR_KEYS: '["ENV_SHORT","APP_DIR","ENV_TYPE","BUILD_INFO_ID","BUILD_INF
648
660
  },
649
661
  "script": [
650
662
  "echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > www/__build_info.json",
651
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
663
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
652
664
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
653
665
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
654
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
666
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
655
667
  "cd www",
656
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn prepare[collapsed=true]\\r\\e[0KNode and yarn install"",
657
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
668
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
658
669
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
659
670
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
660
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
671
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
672
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
661
673
  "yarn install --immutable",
662
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn prepare\\r\\e[0K"",
674
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
663
675
  "yarn build",
664
676
  ],
665
677
  "stage": "build",
@@ -992,14 +1004,18 @@ _ALL_ENV_VAR_KEYS: '["ENV_SHORT","APP_DIR","ENV_TYPE","BUILD_INFO_ID","BUILD_INF
992
1004
  ],
993
1005
  },
994
1006
  "script": [
1007
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1008
+ "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1009
+ "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1010
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
995
1011
  "cd www",
996
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn prepare[collapsed=true]\\r\\e[0KNode and yarn install"",
997
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1012
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
998
1013
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
999
1014
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1000
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1015
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1016
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
1001
1017
  "yarn install --immutable",
1002
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn prepare\\r\\e[0K"",
1018
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
1003
1019
  "yarn test",
1004
1020
  ],
1005
1021
  "stage": "test",
@@ -1155,18 +1171,18 @@ _ALL_ENV_VAR_KEYS: '["ENV_SHORT","APP_DIR","ENV_TYPE","BUILD_INFO_ID","BUILD_INF
1155
1171
  },
1156
1172
  "script": [
1157
1173
  "echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > www/__build_info.json",
1158
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1174
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1159
1175
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1160
1176
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1161
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1177
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1162
1178
  "cd www",
1163
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn prepare[collapsed=true]\\r\\e[0KNode and yarn install"",
1164
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1179
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1165
1180
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1166
1181
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1167
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1182
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1183
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
1168
1184
  "yarn install --immutable",
1169
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn prepare\\r\\e[0K"",
1185
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
1170
1186
  "yarn build",
1171
1187
  ],
1172
1188
  "stage": "build",
@@ -1239,18 +1255,18 @@ _ALL_ENV_VAR_KEYS: '["ENV_SHORT","APP_DIR","ENV_TYPE","BUILD_INFO_ID","BUILD_INF
1239
1255
  },
1240
1256
  "script": [
1241
1257
  "echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > www/__build_info.json",
1242
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1258
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1243
1259
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1244
1260
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1245
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1261
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1246
1262
  "cd www",
1247
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn prepare[collapsed=true]\\r\\e[0KNode and yarn install"",
1248
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1263
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1249
1264
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1250
1265
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1251
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1266
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1267
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
1252
1268
  "yarn install --immutable",
1253
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn prepare\\r\\e[0K"",
1269
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
1254
1270
  "yarn build",
1255
1271
  ],
1256
1272
  "stage": "build",
@@ -33,14 +33,18 @@ exports[`matches snapshot 1`] = `
33
33
  ],
34
34
  },
35
35
  "script": [
36
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
37
+ "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
38
+ "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
39
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
36
40
  "cd api",
37
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn prepare[collapsed=true]\\r\\e[0KNode and yarn install"",
38
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
41
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
39
42
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
40
43
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
41
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
44
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
45
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
42
46
  "yarn install --immutable",
43
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn prepare\\r\\e[0K"",
47
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
44
48
  "yarn lint",
45
49
  ],
46
50
  "stage": "test",
@@ -100,18 +104,18 @@ exports[`matches snapshot 1`] = `
100
104
  },
101
105
  "script": [
102
106
  "echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > api/__build_info.json",
103
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
107
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
104
108
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
105
109
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
106
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
110
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
107
111
  "cd api",
108
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn prepare[collapsed=true]\\r\\e[0KNode and yarn install"",
109
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
112
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
110
113
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
111
114
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
112
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
115
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
116
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
113
117
  "yarn install --immutable",
114
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn prepare\\r\\e[0K"",
118
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
115
119
  "yarn build",
116
120
  ],
117
121
  "stage": "build",
@@ -254,14 +258,18 @@ exports[`matches snapshot 1`] = `
254
258
  ],
255
259
  },
256
260
  "script": [
261
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
262
+ "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
263
+ "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
264
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
257
265
  "cd api",
258
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn prepare[collapsed=true]\\r\\e[0KNode and yarn install"",
259
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
266
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
260
267
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
261
268
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
262
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
269
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
270
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
263
271
  "yarn install --immutable",
264
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn prepare\\r\\e[0K"",
272
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
265
273
  "yarn test",
266
274
  ],
267
275
  "stage": "test",
@@ -324,14 +332,18 @@ exports[`matches snapshot 1`] = `
324
332
  ],
325
333
  },
326
334
  "script": [
335
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
336
+ "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
337
+ "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
338
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
327
339
  "cd www",
328
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn prepare[collapsed=true]\\r\\e[0KNode and yarn install"",
329
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
340
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
330
341
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
331
342
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
332
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
343
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
344
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
333
345
  "yarn install --immutable",
334
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn prepare\\r\\e[0K"",
346
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
335
347
  "yarn lint",
336
348
  ],
337
349
  "stage": "test",
@@ -391,18 +403,18 @@ exports[`matches snapshot 1`] = `
391
403
  },
392
404
  "script": [
393
405
  "echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > www/__build_info.json",
394
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
406
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
395
407
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
396
408
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
397
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
409
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
398
410
  "cd www",
399
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn prepare[collapsed=true]\\r\\e[0KNode and yarn install"",
400
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
411
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
401
412
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
402
413
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
403
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
414
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
415
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
404
416
  "yarn install --immutable",
405
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn prepare\\r\\e[0K"",
417
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
406
418
  "yarn build",
407
419
  ],
408
420
  "stage": "build",
@@ -549,14 +561,18 @@ exports[`matches snapshot 1`] = `
549
561
  ],
550
562
  },
551
563
  "script": [
564
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
565
+ "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
566
+ "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
567
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
552
568
  "cd www",
553
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn prepare[collapsed=true]\\r\\e[0KNode and yarn install"",
554
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
569
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
555
570
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
556
571
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
557
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
572
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
573
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
558
574
  "yarn install --immutable",
559
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn prepare\\r\\e[0K"",
575
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
560
576
  "yarn test",
561
577
  ],
562
578
  "stage": "test",
@@ -692,14 +708,18 @@ exports[`matches snapshot 1`] = `
692
708
  ],
693
709
  },
694
710
  "script": [
711
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
712
+ "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
713
+ "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
714
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
695
715
  "cd api",
696
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn prepare[collapsed=true]\\r\\e[0KNode and yarn install"",
697
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
716
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
698
717
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
699
718
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
700
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
719
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
720
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
701
721
  "yarn install --immutable",
702
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn prepare\\r\\e[0K"",
722
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
703
723
  "yarn lint",
704
724
  ],
705
725
  "stage": "test",
@@ -759,18 +779,18 @@ exports[`matches snapshot 1`] = `
759
779
  },
760
780
  "script": [
761
781
  "echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > api/__build_info.json",
762
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
782
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
763
783
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
764
784
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
765
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
785
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
766
786
  "cd api",
767
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn prepare[collapsed=true]\\r\\e[0KNode and yarn install"",
768
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
787
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
769
788
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
770
789
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
771
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
790
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
791
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
772
792
  "yarn install --immutable",
773
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn prepare\\r\\e[0K"",
793
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
774
794
  "yarn build",
775
795
  ],
776
796
  "stage": "build",
@@ -913,14 +933,18 @@ exports[`matches snapshot 1`] = `
913
933
  ],
914
934
  },
915
935
  "script": [
936
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
937
+ "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
938
+ "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
939
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
916
940
  "cd api",
917
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn prepare[collapsed=true]\\r\\e[0KNode and yarn install"",
918
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
941
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
919
942
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
920
943
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
921
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
944
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
945
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
922
946
  "yarn install --immutable",
923
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn prepare\\r\\e[0K"",
947
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
924
948
  "yarn test",
925
949
  ],
926
950
  "stage": "test",
@@ -983,14 +1007,18 @@ exports[`matches snapshot 1`] = `
983
1007
  ],
984
1008
  },
985
1009
  "script": [
1010
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1011
+ "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1012
+ "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1013
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
986
1014
  "cd www",
987
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn prepare[collapsed=true]\\r\\e[0KNode and yarn install"",
988
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1015
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
989
1016
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
990
1017
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
991
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1018
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1019
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
992
1020
  "yarn install --immutable",
993
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn prepare\\r\\e[0K"",
1021
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
994
1022
  "yarn lint",
995
1023
  ],
996
1024
  "stage": "test",
@@ -1050,18 +1078,18 @@ exports[`matches snapshot 1`] = `
1050
1078
  },
1051
1079
  "script": [
1052
1080
  "echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > www/__build_info.json",
1053
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1081
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1054
1082
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1055
1083
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1056
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1084
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1057
1085
  "cd www",
1058
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn prepare[collapsed=true]\\r\\e[0KNode and yarn install"",
1059
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1086
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1060
1087
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1061
1088
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1062
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1089
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1090
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
1063
1091
  "yarn install --immutable",
1064
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn prepare\\r\\e[0K"",
1092
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
1065
1093
  "yarn build",
1066
1094
  ],
1067
1095
  "stage": "build",
@@ -1208,14 +1236,18 @@ exports[`matches snapshot 1`] = `
1208
1236
  ],
1209
1237
  },
1210
1238
  "script": [
1239
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1240
+ "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1241
+ "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1242
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1211
1243
  "cd www",
1212
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn prepare[collapsed=true]\\r\\e[0KNode and yarn install"",
1213
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1244
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1214
1245
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1215
1246
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1216
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1247
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1248
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
1217
1249
  "yarn install --immutable",
1218
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn prepare\\r\\e[0K"",
1250
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
1219
1251
  "yarn test",
1220
1252
  ],
1221
1253
  "stage": "test",
@@ -1371,18 +1403,18 @@ exports[`matches snapshot 1`] = `
1371
1403
  },
1372
1404
  "script": [
1373
1405
  "echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > api/__build_info.json",
1374
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1406
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1375
1407
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1376
1408
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1377
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1409
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1378
1410
  "cd api",
1379
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn prepare[collapsed=true]\\r\\e[0KNode and yarn install"",
1380
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1411
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1381
1412
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1382
1413
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1383
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1414
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1415
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
1384
1416
  "yarn install --immutable",
1385
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn prepare\\r\\e[0K"",
1417
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
1386
1418
  "yarn build",
1387
1419
  ],
1388
1420
  "stage": "build",
@@ -1452,18 +1484,18 @@ exports[`matches snapshot 1`] = `
1452
1484
  },
1453
1485
  "script": [
1454
1486
  "echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > api/__build_info.json",
1455
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1487
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1456
1488
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1457
1489
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1458
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1490
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1459
1491
  "cd api",
1460
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn prepare[collapsed=true]\\r\\e[0KNode and yarn install"",
1461
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1492
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1462
1493
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1463
1494
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1464
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1495
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1496
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
1465
1497
  "yarn install --immutable",
1466
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn prepare\\r\\e[0K"",
1498
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
1467
1499
  "yarn build",
1468
1500
  ],
1469
1501
  "stage": "build",
@@ -1691,18 +1723,18 @@ exports[`matches snapshot 1`] = `
1691
1723
  },
1692
1724
  "script": [
1693
1725
  "echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > www/__build_info.json",
1694
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1726
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1695
1727
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1696
1728
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1697
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1729
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1698
1730
  "cd www",
1699
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn prepare[collapsed=true]\\r\\e[0KNode and yarn install"",
1700
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1731
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1701
1732
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1702
1733
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1703
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1734
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1735
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
1704
1736
  "yarn install --immutable",
1705
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn prepare\\r\\e[0K"",
1737
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
1706
1738
  "yarn build",
1707
1739
  ],
1708
1740
  "stage": "build",
@@ -1772,18 +1804,18 @@ exports[`matches snapshot 1`] = `
1772
1804
  },
1773
1805
  "script": [
1774
1806
  "echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > www/__build_info.json",
1775
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1807
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1776
1808
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1777
1809
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1778
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1810
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1779
1811
  "cd www",
1780
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn prepare[collapsed=true]\\r\\e[0KNode and yarn install"",
1781
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1812
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1782
1813
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1783
1814
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1784
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1815
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1816
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
1785
1817
  "yarn install --immutable",
1786
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn prepare\\r\\e[0K"",
1818
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
1787
1819
  "yarn build",
1788
1820
  ],
1789
1821
  "stage": "build",
package/package.json CHANGED
@@ -52,7 +52,7 @@
52
52
  }
53
53
  ],
54
54
  "license": "MIT",
55
- "version": "1.129.1",
55
+ "version": "1.131.0",
56
56
  "scripts": {
57
57
  "build:tsc": "yarn tsc",
58
58
  "build": "yarn build:compile && yarn build:inline-variables && yarn build:bundle",
@@ -4,7 +4,7 @@ import type { CatladderJob } from "../../types/jobs";
4
4
  import { ensureArray, notNil } from "../../utils";
5
5
  import { getNodeCache } from "./cache";
6
6
  import { NODE_RUNNER_BUILD_VARIABLES } from "./constants";
7
- import { getYarnInstall } from "./yarn";
7
+ import { ensureNodeVersion, getYarnInstall } from "./yarn";
8
8
  import { createArtifactsConfig } from "../base/createArtifactsConfig";
9
9
 
10
10
  export const createNodeTestJobs = (context: Context): CatladderJob[] => {
@@ -59,6 +59,7 @@ export const createNodeTestJobs = (context: Context): CatladderJob[] => {
59
59
  image: buildConfig.lint?.jobImage ?? defaultImage,
60
60
  cache: getNodeCache(context),
61
61
  script: [
62
+ ...ensureNodeVersion(context),
62
63
  `cd ${context.componentConfig.dir}`,
63
64
  ...yarnInstall,
64
65
  ...(ensureArray(buildConfig.lint?.command) ?? ["yarn lint"]),
@@ -80,6 +81,7 @@ export const createNodeTestJobs = (context: Context): CatladderJob[] => {
80
81
  buildConfig.test?.jobImage ?? getRunnerImage("jobs-testing-chrome"),
81
82
  cache: getNodeCache(context),
82
83
  script: [
84
+ ...ensureNodeVersion(context),
83
85
  `cd ${context.componentConfig.dir}`,
84
86
  ...yarnInstall,
85
87
  ...(ensureArray(buildConfig.test?.command) ?? ["yarn test"]),