ci: Run frontend tests in CI

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2458>
environments/review-docs-2154-lq0f50/deployments/17664
Georg Krause 2023-06-11 11:01:11 +02:00
rodzic 766380f31d
commit 95ead5bc58
2 zmienionych plików z 1 dodań i 4 usunięć

Wyświetl plik

@ -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/**/*]

Wyświetl plik

@ -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",