github/workflows: add prettier cache

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2025-08-29 13:56:56 +02:00
parent 3585c591b8
commit 705f28d23a
2 changed files with 6 additions and 3 deletions
+3 -3
View File
@@ -102,9 +102,6 @@ jobs:
- name: type checking and declarations
run: yarn tsc:full
- name: prettier
run: yarn prettier:check
# We need to generate the API references as well, so that we can verify the doc links
- name: check api reports and generate API reference
run: yarn build:api-reports:only --ci --docs
@@ -246,6 +243,9 @@ jobs:
restore-keys: |
${{ runner.os }}-v${{ matrix.node-version }}-backstage-cli-
- name: prettier
run: yarn prettier:check --cache --cache-location .cache/backstage-cli/.prettier-cache
- name: lint changed packages
run: yarn backstage-cli repo lint --since origin/master --successCache --successCacheDir .cache/backstage-cli