@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
@@ -311,7 +311,7 @@ exports[`matches snapshot for cloud-run-health-check-only-startup github workflo
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-only-startup github workflo
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-only-startup github workflo
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-only-startup github workflo
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-only-startup github workflo
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-only-startup github workflo
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-only-startup github workflo
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
@@ -311,7 +311,7 @@ exports[`matches snapshot for cloud-run-health-check 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 cloud-run-health-check 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 cloud-run-health-check 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 cloud-run-health-check 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 cloud-run-health-check 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 cloud-run-health-check 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 cloud-run-health-check 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
@@ -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
@@ -311,7 +311,7 @@ exports[`matches snapshot for cloud-run-http2 github workflows YAML 1`] = `
311
311
  uses: actions/cache@v4
312
312
  with:
313
313
  path: api/.yarn
314
- key: api-yarn-\${{ github.run_id }}
314
+ key: api-yarn-\${{ hashFiles('api/yarn.lock') }}
315
315
  restore-keys: api-yarn-
316
316
  - name: Cache api-node-modules
317
317
  uses: actions/cache@v4
@@ -319,7 +319,7 @@ exports[`matches snapshot for cloud-run-http2 github workflows YAML 1`] = `
319
319
  path: |-
320
320
  api/node_modules
321
321
  api/.yarn/install-state.gz
322
- key: api-node-modules-\${{ github.run_id }}
322
+ key: api-node-modules-\${{ hashFiles('api/yarn.lock') }}
323
323
  restore-keys: api-node-modules-
324
324
  - name: ๐Ÿ‘ฎ lint
325
325
  id: main
@@ -347,7 +347,7 @@ exports[`matches snapshot for cloud-run-http2 github workflows YAML 1`] = `
347
347
  uses: actions/cache@v4
348
348
  with:
349
349
  path: api/.yarn
350
- key: api-yarn-\${{ github.run_id }}
350
+ key: api-yarn-\${{ hashFiles('api/yarn.lock') }}
351
351
  restore-keys: api-yarn-
352
352
  - name: Cache api-node-modules
353
353
  uses: actions/cache@v4
@@ -355,7 +355,7 @@ exports[`matches snapshot for cloud-run-http2 github workflows YAML 1`] = `
355
355
  path: |-
356
356
  api/node_modules
357
357
  api/.yarn/install-state.gz
358
- key: api-node-modules-\${{ github.run_id }}
358
+ key: api-node-modules-\${{ hashFiles('api/yarn.lock') }}
359
359
  restore-keys: api-node-modules-
360
360
  - name: ๐Ÿงช test
361
361
  id: main
@@ -383,7 +383,7 @@ exports[`matches snapshot for cloud-run-http2 github workflows YAML 1`] = `
383
383
  uses: actions/cache@v4
384
384
  with:
385
385
  path: api/.yarn
386
- key: api-yarn-\${{ github.run_id }}
386
+ key: api-yarn-\${{ hashFiles('api/yarn.lock') }}
387
387
  restore-keys: api-yarn-
388
388
  - name: Cache api-node-modules
389
389
  uses: actions/cache@v4
@@ -391,7 +391,7 @@ exports[`matches snapshot for cloud-run-http2 github workflows YAML 1`] = `
391
391
  path: |-
392
392
  api/node_modules
393
393
  api/.yarn/install-state.gz
394
- key: api-node-modules-\${{ github.run_id }}
394
+ key: api-node-modules-\${{ hashFiles('api/yarn.lock') }}
395
395
  restore-keys: api-node-modules-
396
396
  - name: ๐Ÿ”จ app
397
397
  id: main
@@ -431,7 +431,7 @@ exports[`matches snapshot for cloud-run-http2 github workflows YAML 1`] = `
431
431
  uses: actions/cache/restore@v4
432
432
  with:
433
433
  path: api/.yarn
434
- key: api-yarn-\${{ github.run_id }}
434
+ key: api-yarn-\${{ hashFiles('api/yarn.lock') }}
435
435
  restore-keys: api-yarn-
436
436
  - name: Download artifacts from api-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: api/.yarn
782
- key: api-yarn-\${{ github.run_id }}
782
+ key: api-yarn-\${{ hashFiles('api/yarn.lock') }}
783
783
  restore-keys: api-yarn-
784
784
  - name: Cache api-node-modules
785
785
  uses: actions/cache@v4
@@ -787,7 +787,7 @@ catladder-review.yml:
787
787
  path: |-
788
788
  api/node_modules
789
789
  api/.yarn/install-state.gz
790
- key: api-node-modules-\${{ github.run_id }}
790
+ key: api-node-modules-\${{ hashFiles('api/yarn.lock') }}
791
791
  restore-keys: api-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: api/.yarn
818
- key: api-yarn-\${{ github.run_id }}
818
+ key: api-yarn-\${{ hashFiles('api/yarn.lock') }}
819
819
  restore-keys: api-yarn-
820
820
  - name: Cache api-node-modules
821
821
  uses: actions/cache@v4
@@ -823,7 +823,7 @@ catladder-review.yml:
823
823
  path: |-
824
824
  api/node_modules
825
825
  api/.yarn/install-state.gz
826
- key: api-node-modules-\${{ github.run_id }}
826
+ key: api-node-modules-\${{ hashFiles('api/yarn.lock') }}
827
827
  restore-keys: api-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: api/.yarn
854
- key: api-yarn-\${{ github.run_id }}
854
+ key: api-yarn-\${{ hashFiles('api/yarn.lock') }}
855
855
  restore-keys: api-yarn-
856
856
  - name: Cache api-node-modules
857
857
  uses: actions/cache@v4
@@ -859,7 +859,7 @@ catladder-review.yml:
859
859
  path: |-
860
860
  api/node_modules
861
861
  api/.yarn/install-state.gz
862
- key: api-node-modules-\${{ github.run_id }}
862
+ key: api-node-modules-\${{ hashFiles('api/yarn.lock') }}
863
863
  restore-keys: api-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: api/.yarn
902
- key: api-yarn-\${{ github.run_id }}
902
+ key: api-yarn-\${{ hashFiles('api/yarn.lock') }}
903
903
  restore-keys: api-yarn-
904
904
  - name: Download artifacts from api-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: api/.yarn
1223
- key: api-yarn-\${{ github.run_id }}
1223
+ key: api-yarn-\${{ hashFiles('api/yarn.lock') }}
1224
1224
  restore-keys: api-yarn-
1225
1225
  - name: Cache api-node-modules
1226
1226
  uses: actions/cache@v4
@@ -1228,7 +1228,7 @@ catladder-release.yml:
1228
1228
  path: |-
1229
1229
  api/node_modules
1230
1230
  api/.yarn/install-state.gz
1231
- key: api-node-modules-\${{ github.run_id }}
1231
+ key: api-node-modules-\${{ hashFiles('api/yarn.lock') }}
1232
1232
  restore-keys: api-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: api/.yarn
1271
- key: api-yarn-\${{ github.run_id }}
1271
+ key: api-yarn-\${{ hashFiles('api/yarn.lock') }}
1272
1272
  restore-keys: api-yarn-
1273
1273
  - name: Download artifacts from api-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: api/.yarn
1328
- key: api-yarn-\${{ github.run_id }}
1328
+ key: api-yarn-\${{ hashFiles('api/yarn.lock') }}
1329
1329
  restore-keys: api-yarn-
1330
1330
  - name: Cache api-node-modules
1331
1331
  uses: actions/cache@v4
@@ -1333,7 +1333,7 @@ catladder-release.yml:
1333
1333
  path: |-
1334
1334
  api/node_modules
1335
1335
  api/.yarn/install-state.gz
1336
- key: api-node-modules-\${{ github.run_id }}
1336
+ key: api-node-modules-\${{ hashFiles('api/yarn.lock') }}
1337
1337
  restore-keys: api-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: api/.yarn
1376
- key: api-yarn-\${{ github.run_id }}
1376
+ key: api-yarn-\${{ hashFiles('api/yarn.lock') }}
1377
1377
  restore-keys: api-yarn-
1378
1378
  - name: Download artifacts from api-app-prod
1379
1379
  uses: actions/download-artifact@v4