kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
ci(front): speedup type checking with vue-tsc by using incremental cache
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2503>environments/review-docs-merge-hoc7bt/deployments/18064
rodzic
f0693c7d4f
commit
cc8f3e6a3c
|
@ -98,5 +98,6 @@ _build
|
|||
docker-bake.*.json
|
||||
metadata.json
|
||||
|
||||
# Eslint
|
||||
# Linting
|
||||
.eslintcache
|
||||
tsconfig.tsbuildinfo
|
||||
|
|
|
@ -32,7 +32,9 @@ variables:
|
|||
paths: [front/node_modules]
|
||||
- key:
|
||||
prefix: front-lint
|
||||
files: [front/.eslintcache]
|
||||
files:
|
||||
- front/.eslintcache
|
||||
- front/tsconfig.tsbuildinfo
|
||||
|
||||
# Cache for api related jobs
|
||||
# Include the python version to prevent loosing caches in the test matrix
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"test": "vitest run",
|
||||
"test:unit": "vitest run --coverage",
|
||||
"lint": "eslint --cache --cache-strategy content --ext .ts,.js,.vue,.json,.html src test public/embed.html",
|
||||
"lint:tsc": "vue-tsc --noEmit",
|
||||
"lint:tsc": "vue-tsc --noEmit --incremental",
|
||||
"fix-fomantic-css": "scripts/fix-fomantic-css.sh",
|
||||
"postinstall": "yarn run fix-fomantic-css"
|
||||
},
|
||||
|
|
Ładowanie…
Reference in New Issue