@@ -320,16 +320,15 @@ jobs:
320
320
env :
321
321
DEPENDENCY_CACHE_KEY : ${{ needs.job_build.outputs.dependency_cache_key }}
322
322
- name : Lint source files
323
- run : yarn lint
323
+ run : lint:lerna
324
324
- name : Validate ES5 builds
325
325
run : yarn validate:es5
326
326
327
- job_lint_md :
328
- name : Lint Markdown
327
+ job_check_format :
328
+ name : Check file formatting
329
329
needs : [job_get_metadata, job_install_deps]
330
330
timeout-minutes : 10
331
331
runs-on : ubuntu-20.04
332
- if : needs.job_get_metadata.outputs.changed_any_code != 'true' && github.event_name == 'pull_request'
333
332
steps :
334
333
- name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
335
334
uses : actions/checkout@v4
@@ -339,8 +338,14 @@ jobs:
339
338
uses : actions/setup-node@v4
340
339
with :
341
340
node-version-file : ' package.json'
342
- - name : Lint .md files
343
- run : yarn lint:prettier
341
+ - name : Check dependency cache
342
+ uses : actions/cache/restore@v3
343
+ with :
344
+ path : ${{ env.CACHED_DEPENDENCY_PATHS }}
345
+ key : ${{ needs.job_install_deps.outputs.dependency_cache_key }}
346
+ fail-on-cache-miss : true
347
+ - name : Check file formatting
348
+ run : yarn lint:prettier && yarn lint:biome
344
349
345
350
job_circular_dep_check :
346
351
name : Circular Dependency Check
@@ -1034,7 +1039,7 @@ jobs:
1034
1039
job_e2e_tests,
1035
1040
job_artifacts,
1036
1041
job_lint,
1037
- job_lint_md ,
1042
+ job_check_format ,
1038
1043
job_circular_dep_check,
1039
1044
]
1040
1045
# Always run this, even if a dependent job failed
0 commit comments