mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-25 14:06:27 +00:00
ci: Fix eslint cache (#22696)
This commit is contained in:
parent
a2198b8af7
commit
a97cfc7f41
2 changed files with 5 additions and 4 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -161,11 +161,11 @@ jobs:
|
|||
- name: Cache eslint
|
||||
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
|
||||
with:
|
||||
path: .eslintcache
|
||||
path: .cache/eslint
|
||||
key: eslint-cache
|
||||
|
||||
- name: Lint
|
||||
run: yarn eslint -f gha
|
||||
run: yarn -s eslint-ci
|
||||
|
||||
lint-prettier:
|
||||
needs: [setup]
|
||||
|
|
|
@ -17,8 +17,9 @@
|
|||
"debug": "cross-env NODE_OPTIONS=--inspect-brk ts-node lib/renovate.ts",
|
||||
"doc-fix": "run-s markdown-lint-fix prettier-fix",
|
||||
"doc-fence-check": "node tools/check-fenced-code.mjs",
|
||||
"eslint": "eslint . --cache --report-unused-disable-directives",
|
||||
"eslint-fix": "eslint --cache --fix . --report-unused-disable-directives",
|
||||
"eslint": "eslint . --cache --cache-location .cache/eslint --report-unused-disable-directives",
|
||||
"eslint-fix": "eslint --cache --cache-location .cache/eslint --fix . --report-unused-disable-directives",
|
||||
"eslint-ci": "eslint . --cache --cache-strategy content --cache-location .cache/eslint --format gha",
|
||||
"generate": "run-s generate:*",
|
||||
"generate:imports": "node tools/generate-imports.mjs",
|
||||
"git-check": "node tools/check-git-version.mjs",
|
||||
|
|
Loading…
Reference in a new issue