ci: Run frontend tests in CI
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2458>
This commit is contained in:
parent
766380f31d
commit
95ead5bc58
|
@ -276,9 +276,6 @@ test_front:
|
|||
needs:
|
||||
- job: lint_front
|
||||
rules:
|
||||
# Disabled for now since no vitest dom emulation is providing
|
||||
# AudioContext, which is required for our HTML audio player
|
||||
- when: never
|
||||
- if: $CI_COMMIT_BRANCH =~ /(stable|develop)/
|
||||
- changes: [front/**/*]
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
"build:deployment": "vite build",
|
||||
"serve": "vite preview",
|
||||
"test": "vitest run",
|
||||
"test:unit": "vitest run",
|
||||
"test:unit": "vitest run --coverage",
|
||||
"lint": "eslint --ext .ts,.js,.vue,.json,.html src test public/embed.html",
|
||||
"lint:tsc": "vue-tsc --noEmit",
|
||||
"fix-fomantic-css": "scripts/fix-fomantic-css.sh",
|
||||
|
|
Loading…
Reference in New Issue