Merge remote-tracking branch 'origin/develop' into shigusegubu-themes3
This commit is contained in:
commit
f5b9c75a30
3 changed files with 20 additions and 1 deletions
|
|
@ -45,6 +45,20 @@ steps:
|
|||
exit 1
|
||||
fi
|
||||
|
||||
code-analysis:
|
||||
image: sonarsource/sonar-scanner-cli:11
|
||||
when:
|
||||
- event: push
|
||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||
- event: manual
|
||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||
environment:
|
||||
SONAR_TOKEN:
|
||||
from_secret: sonarqube-token
|
||||
entrypoint: *script_file_entrypoint
|
||||
commands:
|
||||
- sonar-scanner
|
||||
|
||||
upload-artifacts:
|
||||
image: docker.io/woodpeckercommunity/plugin-gitea-package:0.5.0
|
||||
when:
|
||||
|
|
|
|||
3
sonar-project.properties
Normal file
3
sonar-project.properties
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
sonar.projectKey=Pleroma-FE
|
||||
sonar.qualitygatesonar.host.url.wait=true
|
||||
sonar.host.url=https://sonarqube.pleroma.dev
|
||||
|
|
@ -243,7 +243,9 @@ export default defineConfig(async ({ mode, command }) => {
|
|||
exclude: [...configDefaults.exclude, 'test/e2e-playwright/**'],
|
||||
coverage: {
|
||||
provider: 'v8',
|
||||
exclude: ['**/*.style.js', 'public/**'],
|
||||
all: true,
|
||||
reporter: ['text-summary', ['lcov', { subdir: './src' }]],
|
||||
exclude: ['**/*.style.js', 'public/**', '**/*.scss'],
|
||||
},
|
||||
browser: {
|
||||
enabled: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue