@catladder/pipeline 0.0.0-next-e3ccf7d4 โ†’ 0.0.0-next-08efdbb7

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 (67) hide show
  1. package/dist/backends/github/createGithubJobs.js +17 -8
  2. package/dist/backends/gitlab/createGitlabJobs.js +15 -2
  3. package/dist/build/cache/createJobCache.js +8 -3
  4. package/dist/build/node/cache.js +8 -1
  5. package/dist/build/types.d.ts +11 -0
  6. package/dist/constants.js +1 -1
  7. package/dist/tsconfig.tsbuildinfo +1 -1
  8. package/dist/types/jobs.d.ts +7 -1
  9. package/examples/__snapshots__/automatic-releases.test.ts.snap +20 -20
  10. package/examples/__snapshots__/cloud-run-execute-script-on-deploy.test.ts.snap +20 -20
  11. package/examples/__snapshots__/cloud-run-health-check-defaults.test.ts.snap +20 -20
  12. package/examples/__snapshots__/cloud-run-health-check-only-startup.test.ts.snap +20 -20
  13. package/examples/__snapshots__/cloud-run-health-check.test.ts.snap +20 -20
  14. package/examples/__snapshots__/cloud-run-http2.test.ts.snap +20 -20
  15. package/examples/__snapshots__/cloud-run-memory-limit.test.ts.snap +20 -20
  16. package/examples/__snapshots__/cloud-run-meteor-with-worker.test.ts.snap +16 -16
  17. package/examples/__snapshots__/cloud-run-nextjs.test.ts.snap +20 -20
  18. package/examples/__snapshots__/cloud-run-no-cpu-throttling.test.ts.snap +20 -20
  19. package/examples/__snapshots__/cloud-run-no-service.test.ts.snap +20 -20
  20. package/examples/__snapshots__/cloud-run-non-public.test.ts.snap +20 -20
  21. package/examples/__snapshots__/cloud-run-post-stop-job.test.ts.snap +20 -20
  22. package/examples/__snapshots__/cloud-run-service-custom-vpc-connector.test.ts.snap +20 -20
  23. package/examples/__snapshots__/cloud-run-service-custom-vpc.test.ts.snap +20 -20
  24. package/examples/__snapshots__/cloud-run-service-gen2.test.ts.snap +20 -20
  25. package/examples/__snapshots__/cloud-run-service-increase-timout.test.ts.snap +20 -20
  26. package/examples/__snapshots__/cloud-run-service-with-volumes.test.ts.snap +20 -20
  27. package/examples/__snapshots__/cloud-run-session-affinity.test.ts.snap +20 -20
  28. package/examples/__snapshots__/cloud-run-storybook.test.ts.snap +12 -12
  29. package/examples/__snapshots__/cloud-run-with-agents.test.ts.snap +20 -20
  30. package/examples/__snapshots__/cloud-run-with-gpu.test.ts.snap +20 -20
  31. package/examples/__snapshots__/cloud-run-with-ngnix.test.ts.snap +20 -20
  32. package/examples/__snapshots__/cloud-run-with-sql-legacy-jobs.test.ts.snap +20 -20
  33. package/examples/__snapshots__/cloud-run-with-sql-multiple-dbs.test.ts.snap +60 -60
  34. package/examples/__snapshots__/cloud-run-with-sql-reuse-db.test.ts.snap +40 -40
  35. package/examples/__snapshots__/cloud-run-with-sql.test.ts.snap +20 -20
  36. package/examples/__snapshots__/cloud-run-with-worker.test.ts.snap +20 -20
  37. package/examples/__snapshots__/cloud-run-worker-pool.test.ts.snap +20 -20
  38. package/examples/__snapshots__/custom-deploy.test.ts.snap +20 -20
  39. package/examples/__snapshots__/custom-docker-file.test.ts.snap +20 -20
  40. package/examples/__snapshots__/custom-envs.test.ts.snap +28 -28
  41. package/examples/__snapshots__/custom-verify-job.test.ts.snap +20 -20
  42. package/examples/__snapshots__/git-submodule.test.ts.snap +20 -20
  43. package/examples/__snapshots__/kubernetes-application-customization.test.ts.snap +20 -20
  44. package/examples/__snapshots__/kubernetes-with-cloud-sql.test.ts.snap +20 -20
  45. package/examples/__snapshots__/kubernetes-with-jobs.test.ts.snap +40 -40
  46. package/examples/__snapshots__/kubernetes-with-mongodb.test.ts.snap +20 -20
  47. package/examples/__snapshots__/local-dot-env.test.ts.snap +20 -20
  48. package/examples/__snapshots__/meteor-kubernetes.test.ts.snap +16 -16
  49. package/examples/__snapshots__/modify-generated-files.test.ts.snap +16 -16
  50. package/examples/__snapshots__/modify-generated-yaml.test.ts.snap +16 -16
  51. package/examples/__snapshots__/multiline-var.test.ts.snap +60 -60
  52. package/examples/__snapshots__/native-app.test.ts.snap +36 -36
  53. package/examples/__snapshots__/node-build-with-custom-image.test.ts.snap +20 -20
  54. package/examples/__snapshots__/node-build-with-docker-additions.test.ts.snap +20 -20
  55. package/examples/__snapshots__/override-secrets.test.ts.snap +20 -20
  56. package/examples/__snapshots__/pipelines-config.test.ts.snap +20 -20
  57. package/examples/__snapshots__/referencing-other-vars.test.ts.snap +60 -60
  58. package/examples/__snapshots__/wait-for-other-deploy.test.ts.snap +32 -32
  59. package/examples/__snapshots__/workspace-api-www-turbo-cache.test.ts.snap +24 -24
  60. package/examples/__snapshots__/workspace-api-www.test.ts.snap +24 -24
  61. package/package.json +1 -1
  62. package/src/backends/github/createGithubJobs.ts +17 -6
  63. package/src/backends/gitlab/createGitlabJobs.ts +13 -5
  64. package/src/build/cache/createJobCache.ts +8 -1
  65. package/src/build/node/cache.ts +11 -0
  66. package/src/build/types.ts +12 -0
  67. package/src/types/jobs.ts +7 -1
@@ -2,7 +2,13 @@ import type { UnspecifiedEnvVars } from "..";
2
2
  import type { CatladderImageRef } from "../runner";
3
3
  import type { CacheConfig } from "../build/types";
4
4
  import type { Artifacts, GitlabJobCache, GitlabJobDef, GitlabJobImage, GitlabRule } from "./gitlab-types";
5
- export type CatladderJobCache = GitlabJobCache;
5
+ export type CatladderJobCache = GitlabJobCache & {
6
+ /**
7
+ * content-key hint carried over from {@link CacheConfig} โ€” consumed
8
+ * by the github lowering (hashFiles key), stripped by gitlab
9
+ */
10
+ keyFiles?: string[];
11
+ };
6
12
  export declare const BASE_STAGES: readonly ["setup", "test", "build", "deploy", "verify", "agents", "rollback", "stop"];
7
13
  export type BaseStage = (typeof BASE_STAGES)[number];
8
14
  export type CatladderJobNeed = string | {
@@ -311,7 +311,7 @@ exports[`matches snapshot for automatic-releases github workflows YAML 1`] = `
311
311
  uses: actions/cache@v4
312
312
  with:
313
313
  path: www/.yarn
314
- key: www-yarn-\${{ github.run_id }}
314
+ key: www-yarn-\${{ hashFiles('www/yarn.lock') }}
315
315
  restore-keys: www-yarn-
316
316
  - name: Cache www-node-modules
317
317
  uses: actions/cache@v4
@@ -319,7 +319,7 @@ exports[`matches snapshot for automatic-releases github workflows YAML 1`] = `
319
319
  path: |-
320
320
  www/node_modules
321
321
  www/.yarn/install-state.gz
322
- key: www-node-modules-\${{ github.run_id }}
322
+ key: www-node-modules-\${{ hashFiles('www/yarn.lock') }}
323
323
  restore-keys: www-node-modules-
324
324
  - name: ๐Ÿ‘ฎ lint
325
325
  id: main
@@ -347,7 +347,7 @@ exports[`matches snapshot for automatic-releases github workflows YAML 1`] = `
347
347
  uses: actions/cache@v4
348
348
  with:
349
349
  path: www/.yarn
350
- key: www-yarn-\${{ github.run_id }}
350
+ key: www-yarn-\${{ hashFiles('www/yarn.lock') }}
351
351
  restore-keys: www-yarn-
352
352
  - name: Cache www-node-modules
353
353
  uses: actions/cache@v4
@@ -355,7 +355,7 @@ exports[`matches snapshot for automatic-releases github workflows YAML 1`] = `
355
355
  path: |-
356
356
  www/node_modules
357
357
  www/.yarn/install-state.gz
358
- key: www-node-modules-\${{ github.run_id }}
358
+ key: www-node-modules-\${{ hashFiles('www/yarn.lock') }}
359
359
  restore-keys: www-node-modules-
360
360
  - name: ๐Ÿงช test
361
361
  id: main
@@ -383,7 +383,7 @@ exports[`matches snapshot for automatic-releases github workflows YAML 1`] = `
383
383
  uses: actions/cache@v4
384
384
  with:
385
385
  path: www/.yarn
386
- key: www-yarn-\${{ github.run_id }}
386
+ key: www-yarn-\${{ hashFiles('www/yarn.lock') }}
387
387
  restore-keys: www-yarn-
388
388
  - name: Cache www-node-modules
389
389
  uses: actions/cache@v4
@@ -391,7 +391,7 @@ exports[`matches snapshot for automatic-releases github workflows YAML 1`] = `
391
391
  path: |-
392
392
  www/node_modules
393
393
  www/.yarn/install-state.gz
394
- key: www-node-modules-\${{ github.run_id }}
394
+ key: www-node-modules-\${{ hashFiles('www/yarn.lock') }}
395
395
  restore-keys: www-node-modules-
396
396
  - name: ๐Ÿ”จ app
397
397
  id: main
@@ -431,7 +431,7 @@ exports[`matches snapshot for automatic-releases github workflows YAML 1`] = `
431
431
  uses: actions/cache/restore@v4
432
432
  with:
433
433
  path: www/.yarn
434
- key: www-yarn-\${{ github.run_id }}
434
+ key: www-yarn-\${{ hashFiles('www/yarn.lock') }}
435
435
  restore-keys: www-yarn-
436
436
  - name: Download artifacts from www-app-dev
437
437
  uses: actions/download-artifact@v4
@@ -807,7 +807,7 @@ catladder-review.yml:
807
807
  uses: actions/cache@v4
808
808
  with:
809
809
  path: www/.yarn
810
- key: www-yarn-\${{ github.run_id }}
810
+ key: www-yarn-\${{ hashFiles('www/yarn.lock') }}
811
811
  restore-keys: www-yarn-
812
812
  - name: Cache www-node-modules
813
813
  uses: actions/cache@v4
@@ -815,7 +815,7 @@ catladder-review.yml:
815
815
  path: |-
816
816
  www/node_modules
817
817
  www/.yarn/install-state.gz
818
- key: www-node-modules-\${{ github.run_id }}
818
+ key: www-node-modules-\${{ hashFiles('www/yarn.lock') }}
819
819
  restore-keys: www-node-modules-
820
820
  - name: ๐Ÿ‘ฎ lint
821
821
  id: main
@@ -843,7 +843,7 @@ catladder-review.yml:
843
843
  uses: actions/cache@v4
844
844
  with:
845
845
  path: www/.yarn
846
- key: www-yarn-\${{ github.run_id }}
846
+ key: www-yarn-\${{ hashFiles('www/yarn.lock') }}
847
847
  restore-keys: www-yarn-
848
848
  - name: Cache www-node-modules
849
849
  uses: actions/cache@v4
@@ -851,7 +851,7 @@ catladder-review.yml:
851
851
  path: |-
852
852
  www/node_modules
853
853
  www/.yarn/install-state.gz
854
- key: www-node-modules-\${{ github.run_id }}
854
+ key: www-node-modules-\${{ hashFiles('www/yarn.lock') }}
855
855
  restore-keys: www-node-modules-
856
856
  - name: ๐Ÿงช test
857
857
  id: main
@@ -879,7 +879,7 @@ catladder-review.yml:
879
879
  uses: actions/cache@v4
880
880
  with:
881
881
  path: www/.yarn
882
- key: www-yarn-\${{ github.run_id }}
882
+ key: www-yarn-\${{ hashFiles('www/yarn.lock') }}
883
883
  restore-keys: www-yarn-
884
884
  - name: Cache www-node-modules
885
885
  uses: actions/cache@v4
@@ -887,7 +887,7 @@ catladder-review.yml:
887
887
  path: |-
888
888
  www/node_modules
889
889
  www/.yarn/install-state.gz
890
- key: www-node-modules-\${{ github.run_id }}
890
+ key: www-node-modules-\${{ hashFiles('www/yarn.lock') }}
891
891
  restore-keys: www-node-modules-
892
892
  - name: ๐Ÿ”จ app
893
893
  id: main
@@ -927,7 +927,7 @@ catladder-review.yml:
927
927
  uses: actions/cache/restore@v4
928
928
  with:
929
929
  path: www/.yarn
930
- key: www-yarn-\${{ github.run_id }}
930
+ key: www-yarn-\${{ hashFiles('www/yarn.lock') }}
931
931
  restore-keys: www-yarn-
932
932
  - name: Download artifacts from www-app-review
933
933
  uses: actions/download-artifact@v4
@@ -1248,7 +1248,7 @@ catladder-release.yml:
1248
1248
  uses: actions/cache@v4
1249
1249
  with:
1250
1250
  path: www/.yarn
1251
- key: www-yarn-\${{ github.run_id }}
1251
+ key: www-yarn-\${{ hashFiles('www/yarn.lock') }}
1252
1252
  restore-keys: www-yarn-
1253
1253
  - name: Cache www-node-modules
1254
1254
  uses: actions/cache@v4
@@ -1256,7 +1256,7 @@ catladder-release.yml:
1256
1256
  path: |-
1257
1257
  www/node_modules
1258
1258
  www/.yarn/install-state.gz
1259
- key: www-node-modules-\${{ github.run_id }}
1259
+ key: www-node-modules-\${{ hashFiles('www/yarn.lock') }}
1260
1260
  restore-keys: www-node-modules-
1261
1261
  - name: ๐Ÿ”จ app
1262
1262
  id: main
@@ -1296,7 +1296,7 @@ catladder-release.yml:
1296
1296
  uses: actions/cache/restore@v4
1297
1297
  with:
1298
1298
  path: www/.yarn
1299
- key: www-yarn-\${{ github.run_id }}
1299
+ key: www-yarn-\${{ hashFiles('www/yarn.lock') }}
1300
1300
  restore-keys: www-yarn-
1301
1301
  - name: Download artifacts from www-app-stage
1302
1302
  uses: actions/download-artifact@v4
@@ -1353,7 +1353,7 @@ catladder-release.yml:
1353
1353
  uses: actions/cache@v4
1354
1354
  with:
1355
1355
  path: www/.yarn
1356
- key: www-yarn-\${{ github.run_id }}
1356
+ key: www-yarn-\${{ hashFiles('www/yarn.lock') }}
1357
1357
  restore-keys: www-yarn-
1358
1358
  - name: Cache www-node-modules
1359
1359
  uses: actions/cache@v4
@@ -1361,7 +1361,7 @@ catladder-release.yml:
1361
1361
  path: |-
1362
1362
  www/node_modules
1363
1363
  www/.yarn/install-state.gz
1364
- key: www-node-modules-\${{ github.run_id }}
1364
+ key: www-node-modules-\${{ hashFiles('www/yarn.lock') }}
1365
1365
  restore-keys: www-node-modules-
1366
1366
  - name: ๐Ÿ”จ app
1367
1367
  id: main
@@ -1401,7 +1401,7 @@ catladder-release.yml:
1401
1401
  uses: actions/cache/restore@v4
1402
1402
  with:
1403
1403
  path: www/.yarn
1404
- key: www-yarn-\${{ github.run_id }}
1404
+ key: www-yarn-\${{ hashFiles('www/yarn.lock') }}
1405
1405
  restore-keys: www-yarn-
1406
1406
  - name: Download artifacts from www-app-prod
1407
1407
  uses: actions/download-artifact@v4
@@ -311,7 +311,7 @@ exports[`matches snapshot for cloud-run-execute-script-on-deploy github workflow
311
311
  uses: actions/cache@v4
312
312
  with:
313
313
  path: app/.yarn
314
- key: app-yarn-\${{ github.run_id }}
314
+ key: app-yarn-\${{ hashFiles('app/yarn.lock') }}
315
315
  restore-keys: app-yarn-
316
316
  - name: Cache app-node-modules
317
317
  uses: actions/cache@v4
@@ -319,7 +319,7 @@ exports[`matches snapshot for cloud-run-execute-script-on-deploy github workflow
319
319
  path: |-
320
320
  app/node_modules
321
321
  app/.yarn/install-state.gz
322
- key: app-node-modules-\${{ github.run_id }}
322
+ key: app-node-modules-\${{ hashFiles('app/yarn.lock') }}
323
323
  restore-keys: app-node-modules-
324
324
  - name: ๐Ÿ‘ฎ lint
325
325
  id: main
@@ -347,7 +347,7 @@ exports[`matches snapshot for cloud-run-execute-script-on-deploy github workflow
347
347
  uses: actions/cache@v4
348
348
  with:
349
349
  path: app/.yarn
350
- key: app-yarn-\${{ github.run_id }}
350
+ key: app-yarn-\${{ hashFiles('app/yarn.lock') }}
351
351
  restore-keys: app-yarn-
352
352
  - name: Cache app-node-modules
353
353
  uses: actions/cache@v4
@@ -355,7 +355,7 @@ exports[`matches snapshot for cloud-run-execute-script-on-deploy github workflow
355
355
  path: |-
356
356
  app/node_modules
357
357
  app/.yarn/install-state.gz
358
- key: app-node-modules-\${{ github.run_id }}
358
+ key: app-node-modules-\${{ hashFiles('app/yarn.lock') }}
359
359
  restore-keys: app-node-modules-
360
360
  - name: ๐Ÿงช test
361
361
  id: main
@@ -383,7 +383,7 @@ exports[`matches snapshot for cloud-run-execute-script-on-deploy github workflow
383
383
  uses: actions/cache@v4
384
384
  with:
385
385
  path: app/.yarn
386
- key: app-yarn-\${{ github.run_id }}
386
+ key: app-yarn-\${{ hashFiles('app/yarn.lock') }}
387
387
  restore-keys: app-yarn-
388
388
  - name: Cache app-node-modules
389
389
  uses: actions/cache@v4
@@ -391,7 +391,7 @@ exports[`matches snapshot for cloud-run-execute-script-on-deploy github workflow
391
391
  path: |-
392
392
  app/node_modules
393
393
  app/.yarn/install-state.gz
394
- key: app-node-modules-\${{ github.run_id }}
394
+ key: app-node-modules-\${{ hashFiles('app/yarn.lock') }}
395
395
  restore-keys: app-node-modules-
396
396
  - name: ๐Ÿ”จ app
397
397
  id: main
@@ -431,7 +431,7 @@ exports[`matches snapshot for cloud-run-execute-script-on-deploy github workflow
431
431
  uses: actions/cache/restore@v4
432
432
  with:
433
433
  path: app/.yarn
434
- key: app-yarn-\${{ github.run_id }}
434
+ key: app-yarn-\${{ hashFiles('app/yarn.lock') }}
435
435
  restore-keys: app-yarn-
436
436
  - name: Download artifacts from app-app-dev
437
437
  uses: actions/download-artifact@v4
@@ -779,7 +779,7 @@ catladder-review.yml:
779
779
  uses: actions/cache@v4
780
780
  with:
781
781
  path: app/.yarn
782
- key: app-yarn-\${{ github.run_id }}
782
+ key: app-yarn-\${{ hashFiles('app/yarn.lock') }}
783
783
  restore-keys: app-yarn-
784
784
  - name: Cache app-node-modules
785
785
  uses: actions/cache@v4
@@ -787,7 +787,7 @@ catladder-review.yml:
787
787
  path: |-
788
788
  app/node_modules
789
789
  app/.yarn/install-state.gz
790
- key: app-node-modules-\${{ github.run_id }}
790
+ key: app-node-modules-\${{ hashFiles('app/yarn.lock') }}
791
791
  restore-keys: app-node-modules-
792
792
  - name: ๐Ÿ‘ฎ lint
793
793
  id: main
@@ -815,7 +815,7 @@ catladder-review.yml:
815
815
  uses: actions/cache@v4
816
816
  with:
817
817
  path: app/.yarn
818
- key: app-yarn-\${{ github.run_id }}
818
+ key: app-yarn-\${{ hashFiles('app/yarn.lock') }}
819
819
  restore-keys: app-yarn-
820
820
  - name: Cache app-node-modules
821
821
  uses: actions/cache@v4
@@ -823,7 +823,7 @@ catladder-review.yml:
823
823
  path: |-
824
824
  app/node_modules
825
825
  app/.yarn/install-state.gz
826
- key: app-node-modules-\${{ github.run_id }}
826
+ key: app-node-modules-\${{ hashFiles('app/yarn.lock') }}
827
827
  restore-keys: app-node-modules-
828
828
  - name: ๐Ÿงช test
829
829
  id: main
@@ -851,7 +851,7 @@ catladder-review.yml:
851
851
  uses: actions/cache@v4
852
852
  with:
853
853
  path: app/.yarn
854
- key: app-yarn-\${{ github.run_id }}
854
+ key: app-yarn-\${{ hashFiles('app/yarn.lock') }}
855
855
  restore-keys: app-yarn-
856
856
  - name: Cache app-node-modules
857
857
  uses: actions/cache@v4
@@ -859,7 +859,7 @@ catladder-review.yml:
859
859
  path: |-
860
860
  app/node_modules
861
861
  app/.yarn/install-state.gz
862
- key: app-node-modules-\${{ github.run_id }}
862
+ key: app-node-modules-\${{ hashFiles('app/yarn.lock') }}
863
863
  restore-keys: app-node-modules-
864
864
  - name: ๐Ÿ”จ app
865
865
  id: main
@@ -899,7 +899,7 @@ catladder-review.yml:
899
899
  uses: actions/cache/restore@v4
900
900
  with:
901
901
  path: app/.yarn
902
- key: app-yarn-\${{ github.run_id }}
902
+ key: app-yarn-\${{ hashFiles('app/yarn.lock') }}
903
903
  restore-keys: app-yarn-
904
904
  - name: Download artifacts from app-app-review
905
905
  uses: actions/download-artifact@v4
@@ -1220,7 +1220,7 @@ catladder-release.yml:
1220
1220
  uses: actions/cache@v4
1221
1221
  with:
1222
1222
  path: app/.yarn
1223
- key: app-yarn-\${{ github.run_id }}
1223
+ key: app-yarn-\${{ hashFiles('app/yarn.lock') }}
1224
1224
  restore-keys: app-yarn-
1225
1225
  - name: Cache app-node-modules
1226
1226
  uses: actions/cache@v4
@@ -1228,7 +1228,7 @@ catladder-release.yml:
1228
1228
  path: |-
1229
1229
  app/node_modules
1230
1230
  app/.yarn/install-state.gz
1231
- key: app-node-modules-\${{ github.run_id }}
1231
+ key: app-node-modules-\${{ hashFiles('app/yarn.lock') }}
1232
1232
  restore-keys: app-node-modules-
1233
1233
  - name: ๐Ÿ”จ app
1234
1234
  id: main
@@ -1268,7 +1268,7 @@ catladder-release.yml:
1268
1268
  uses: actions/cache/restore@v4
1269
1269
  with:
1270
1270
  path: app/.yarn
1271
- key: app-yarn-\${{ github.run_id }}
1271
+ key: app-yarn-\${{ hashFiles('app/yarn.lock') }}
1272
1272
  restore-keys: app-yarn-
1273
1273
  - name: Download artifacts from app-app-stage
1274
1274
  uses: actions/download-artifact@v4
@@ -1325,7 +1325,7 @@ catladder-release.yml:
1325
1325
  uses: actions/cache@v4
1326
1326
  with:
1327
1327
  path: app/.yarn
1328
- key: app-yarn-\${{ github.run_id }}
1328
+ key: app-yarn-\${{ hashFiles('app/yarn.lock') }}
1329
1329
  restore-keys: app-yarn-
1330
1330
  - name: Cache app-node-modules
1331
1331
  uses: actions/cache@v4
@@ -1333,7 +1333,7 @@ catladder-release.yml:
1333
1333
  path: |-
1334
1334
  app/node_modules
1335
1335
  app/.yarn/install-state.gz
1336
- key: app-node-modules-\${{ github.run_id }}
1336
+ key: app-node-modules-\${{ hashFiles('app/yarn.lock') }}
1337
1337
  restore-keys: app-node-modules-
1338
1338
  - name: ๐Ÿ”จ app
1339
1339
  id: main
@@ -1373,7 +1373,7 @@ catladder-release.yml:
1373
1373
  uses: actions/cache/restore@v4
1374
1374
  with:
1375
1375
  path: app/.yarn
1376
- key: app-yarn-\${{ github.run_id }}
1376
+ key: app-yarn-\${{ hashFiles('app/yarn.lock') }}
1377
1377
  restore-keys: app-yarn-
1378
1378
  - name: Download artifacts from app-app-prod
1379
1379
  uses: actions/download-artifact@v4
@@ -311,7 +311,7 @@ exports[`matches snapshot for cloud-run-health-check-defaults github workflows Y
311
311
  uses: actions/cache@v4
312
312
  with:
313
313
  path: www/.yarn
314
- key: www-yarn-\${{ github.run_id }}
314
+ key: www-yarn-\${{ hashFiles('www/yarn.lock') }}
315
315
  restore-keys: www-yarn-
316
316
  - name: Cache www-node-modules
317
317
  uses: actions/cache@v4
@@ -319,7 +319,7 @@ exports[`matches snapshot for cloud-run-health-check-defaults github workflows Y
319
319
  path: |-
320
320
  www/node_modules
321
321
  www/.yarn/install-state.gz
322
- key: www-node-modules-\${{ github.run_id }}
322
+ key: www-node-modules-\${{ hashFiles('www/yarn.lock') }}
323
323
  restore-keys: www-node-modules-
324
324
  - name: ๐Ÿ‘ฎ lint
325
325
  id: main
@@ -347,7 +347,7 @@ exports[`matches snapshot for cloud-run-health-check-defaults github workflows Y
347
347
  uses: actions/cache@v4
348
348
  with:
349
349
  path: www/.yarn
350
- key: www-yarn-\${{ github.run_id }}
350
+ key: www-yarn-\${{ hashFiles('www/yarn.lock') }}
351
351
  restore-keys: www-yarn-
352
352
  - name: Cache www-node-modules
353
353
  uses: actions/cache@v4
@@ -355,7 +355,7 @@ exports[`matches snapshot for cloud-run-health-check-defaults github workflows Y
355
355
  path: |-
356
356
  www/node_modules
357
357
  www/.yarn/install-state.gz
358
- key: www-node-modules-\${{ github.run_id }}
358
+ key: www-node-modules-\${{ hashFiles('www/yarn.lock') }}
359
359
  restore-keys: www-node-modules-
360
360
  - name: ๐Ÿงช test
361
361
  id: main
@@ -383,7 +383,7 @@ exports[`matches snapshot for cloud-run-health-check-defaults github workflows Y
383
383
  uses: actions/cache@v4
384
384
  with:
385
385
  path: www/.yarn
386
- key: www-yarn-\${{ github.run_id }}
386
+ key: www-yarn-\${{ hashFiles('www/yarn.lock') }}
387
387
  restore-keys: www-yarn-
388
388
  - name: Cache www-node-modules
389
389
  uses: actions/cache@v4
@@ -391,7 +391,7 @@ exports[`matches snapshot for cloud-run-health-check-defaults github workflows Y
391
391
  path: |-
392
392
  www/node_modules
393
393
  www/.yarn/install-state.gz
394
- key: www-node-modules-\${{ github.run_id }}
394
+ key: www-node-modules-\${{ hashFiles('www/yarn.lock') }}
395
395
  restore-keys: www-node-modules-
396
396
  - name: ๐Ÿ”จ app
397
397
  id: main
@@ -431,7 +431,7 @@ exports[`matches snapshot for cloud-run-health-check-defaults github workflows Y
431
431
  uses: actions/cache/restore@v4
432
432
  with:
433
433
  path: www/.yarn
434
- key: www-yarn-\${{ github.run_id }}
434
+ key: www-yarn-\${{ hashFiles('www/yarn.lock') }}
435
435
  restore-keys: www-yarn-
436
436
  - name: Download artifacts from www-app-dev
437
437
  uses: actions/download-artifact@v4
@@ -779,7 +779,7 @@ catladder-review.yml:
779
779
  uses: actions/cache@v4
780
780
  with:
781
781
  path: www/.yarn
782
- key: www-yarn-\${{ github.run_id }}
782
+ key: www-yarn-\${{ hashFiles('www/yarn.lock') }}
783
783
  restore-keys: www-yarn-
784
784
  - name: Cache www-node-modules
785
785
  uses: actions/cache@v4
@@ -787,7 +787,7 @@ catladder-review.yml:
787
787
  path: |-
788
788
  www/node_modules
789
789
  www/.yarn/install-state.gz
790
- key: www-node-modules-\${{ github.run_id }}
790
+ key: www-node-modules-\${{ hashFiles('www/yarn.lock') }}
791
791
  restore-keys: www-node-modules-
792
792
  - name: ๐Ÿ‘ฎ lint
793
793
  id: main
@@ -815,7 +815,7 @@ catladder-review.yml:
815
815
  uses: actions/cache@v4
816
816
  with:
817
817
  path: www/.yarn
818
- key: www-yarn-\${{ github.run_id }}
818
+ key: www-yarn-\${{ hashFiles('www/yarn.lock') }}
819
819
  restore-keys: www-yarn-
820
820
  - name: Cache www-node-modules
821
821
  uses: actions/cache@v4
@@ -823,7 +823,7 @@ catladder-review.yml:
823
823
  path: |-
824
824
  www/node_modules
825
825
  www/.yarn/install-state.gz
826
- key: www-node-modules-\${{ github.run_id }}
826
+ key: www-node-modules-\${{ hashFiles('www/yarn.lock') }}
827
827
  restore-keys: www-node-modules-
828
828
  - name: ๐Ÿงช test
829
829
  id: main
@@ -851,7 +851,7 @@ catladder-review.yml:
851
851
  uses: actions/cache@v4
852
852
  with:
853
853
  path: www/.yarn
854
- key: www-yarn-\${{ github.run_id }}
854
+ key: www-yarn-\${{ hashFiles('www/yarn.lock') }}
855
855
  restore-keys: www-yarn-
856
856
  - name: Cache www-node-modules
857
857
  uses: actions/cache@v4
@@ -859,7 +859,7 @@ catladder-review.yml:
859
859
  path: |-
860
860
  www/node_modules
861
861
  www/.yarn/install-state.gz
862
- key: www-node-modules-\${{ github.run_id }}
862
+ key: www-node-modules-\${{ hashFiles('www/yarn.lock') }}
863
863
  restore-keys: www-node-modules-
864
864
  - name: ๐Ÿ”จ app
865
865
  id: main
@@ -899,7 +899,7 @@ catladder-review.yml:
899
899
  uses: actions/cache/restore@v4
900
900
  with:
901
901
  path: www/.yarn
902
- key: www-yarn-\${{ github.run_id }}
902
+ key: www-yarn-\${{ hashFiles('www/yarn.lock') }}
903
903
  restore-keys: www-yarn-
904
904
  - name: Download artifacts from www-app-review
905
905
  uses: actions/download-artifact@v4
@@ -1220,7 +1220,7 @@ catladder-release.yml:
1220
1220
  uses: actions/cache@v4
1221
1221
  with:
1222
1222
  path: www/.yarn
1223
- key: www-yarn-\${{ github.run_id }}
1223
+ key: www-yarn-\${{ hashFiles('www/yarn.lock') }}
1224
1224
  restore-keys: www-yarn-
1225
1225
  - name: Cache www-node-modules
1226
1226
  uses: actions/cache@v4
@@ -1228,7 +1228,7 @@ catladder-release.yml:
1228
1228
  path: |-
1229
1229
  www/node_modules
1230
1230
  www/.yarn/install-state.gz
1231
- key: www-node-modules-\${{ github.run_id }}
1231
+ key: www-node-modules-\${{ hashFiles('www/yarn.lock') }}
1232
1232
  restore-keys: www-node-modules-
1233
1233
  - name: ๐Ÿ”จ app
1234
1234
  id: main
@@ -1268,7 +1268,7 @@ catladder-release.yml:
1268
1268
  uses: actions/cache/restore@v4
1269
1269
  with:
1270
1270
  path: www/.yarn
1271
- key: www-yarn-\${{ github.run_id }}
1271
+ key: www-yarn-\${{ hashFiles('www/yarn.lock') }}
1272
1272
  restore-keys: www-yarn-
1273
1273
  - name: Download artifacts from www-app-stage
1274
1274
  uses: actions/download-artifact@v4
@@ -1325,7 +1325,7 @@ catladder-release.yml:
1325
1325
  uses: actions/cache@v4
1326
1326
  with:
1327
1327
  path: www/.yarn
1328
- key: www-yarn-\${{ github.run_id }}
1328
+ key: www-yarn-\${{ hashFiles('www/yarn.lock') }}
1329
1329
  restore-keys: www-yarn-
1330
1330
  - name: Cache www-node-modules
1331
1331
  uses: actions/cache@v4
@@ -1333,7 +1333,7 @@ catladder-release.yml:
1333
1333
  path: |-
1334
1334
  www/node_modules
1335
1335
  www/.yarn/install-state.gz
1336
- key: www-node-modules-\${{ github.run_id }}
1336
+ key: www-node-modules-\${{ hashFiles('www/yarn.lock') }}
1337
1337
  restore-keys: www-node-modules-
1338
1338
  - name: ๐Ÿ”จ app
1339
1339
  id: main
@@ -1373,7 +1373,7 @@ catladder-release.yml:
1373
1373
  uses: actions/cache/restore@v4
1374
1374
  with:
1375
1375
  path: www/.yarn
1376
- key: www-yarn-\${{ github.run_id }}
1376
+ key: www-yarn-\${{ hashFiles('www/yarn.lock') }}
1377
1377
  restore-keys: www-yarn-
1378
1378
  - name: Download artifacts from www-app-prod
1379
1379
  uses: actions/download-artifact@v4