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
|
run: npm ci
|
||||||
- name: Unit tests
|
- name: Unit tests
|
||||||
run: npm run test:unit:ci
|
run: npm run test:unit:ci
|
||||||
# - name: Test Report
|
- name: Publish Unit Test Results
|
||||||
# uses: dorny/test-reporter@v1
|
uses: EnricoMi/publish-unit-test-result-action@v1
|
||||||
# if: success() || failure()
|
if: always()
|
||||||
# with:
|
with:
|
||||||
# name: Vitest Tests
|
files: reports/*.xml
|
||||||
# path: reports/unittest.json
|
|
||||||
# reporter: mocha-json
|
|
||||||
docker:
|
docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs:
|
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",
|
"build:backend": "prisma generate && tsc -p tsconfig.backend.json --outDir dist",
|
||||||
"preview": "vite preview --port 5050",
|
"preview": "vite preview --port 5050",
|
||||||
"test:unit": "vitest --environment jsdom",
|
"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",
|
"coverage": "vitest run --environment jsdom --coverage",
|
||||||
"typecheck": "vue-tsc --noEmit",
|
"typecheck": "vue-tsc --noEmit",
|
||||||
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
"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',
|
outDir: 'dist/static',
|
||||||
},
|
},
|
||||||
test: {
|
test: {
|
||||||
outputFile: 'reports/unittest.json',
|
outputFile: 'reports/unittest.xml',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue