mirror of
https://github.com/ThisIsBenny/wishlist-app.git
synced 2025-04-19 15:27:41 +00:00
...
Signed-off-by: Benny Samir Hierl <bennysamir@posteo.de>
This commit is contained in:
parent
abf16aa242
commit
dc94e98aa0
4 changed files with 8 additions and 10 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
@ -31,13 +31,11 @@ jobs:
|
|||
run: npm ci
|
||||
- name: Unit tests
|
||||
run: npm run test:unit:ci
|
||||
# - name: Test Report
|
||||
# uses: dorny/test-reporter@v1
|
||||
# if: success() || failure()
|
||||
# with:
|
||||
# name: Vitest Tests
|
||||
# path: reports/unittest.json
|
||||
# reporter: mocha-json
|
||||
- name: Publish Unit Test Results
|
||||
uses: EnricoMi/publish-unit-test-result-action@v1
|
||||
if: always()
|
||||
with:
|
||||
files: reports/*.xml
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
|
|
2
components.d.ts
vendored
2
components.d.ts
vendored
|
@ -36,4 +36,4 @@ declare module 'vue' {
|
|||
}
|
||||
}
|
||||
|
||||
export { }
|
||||
export {}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
"build:backend": "prisma generate && tsc -p tsconfig.backend.json --outDir dist",
|
||||
"preview": "vite preview --port 5050",
|
||||
"test:unit": "vitest --environment jsdom",
|
||||
"test:unit:ci": "vitest --environment jsdom --run --reporter=json",
|
||||
"test:unit:ci": "vitest --environment jsdom --run --reporter=junit",
|
||||
"coverage": "vitest run --environment jsdom --coverage",
|
||||
"typecheck": "vue-tsc --noEmit",
|
||||
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
||||
|
|
|
@ -21,6 +21,6 @@ export default defineConfig({
|
|||
outDir: 'dist/static',
|
||||
},
|
||||
test: {
|
||||
outputFile: 'reports/unittest.json',
|
||||
outputFile: 'reports/unittest.xml',
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue