Merge pull request #31023 from backstage/rugvip/pc
github/workflows: add prettier cache
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
.cache
|
||||
.lighthouseci
|
||||
.yarn
|
||||
dist
|
||||
microsite
|
||||
@@ -8,6 +10,7 @@ packages/ui/css
|
||||
coverage
|
||||
*.hbs
|
||||
templates
|
||||
type-docs
|
||||
# old reports
|
||||
api-report.md
|
||||
api-report-*.md
|
||||
|
||||
Reference in New Issue
Block a user