mirror of
https://github.com/IT4Change/boilerplate-frontend.git
synced 2025-12-13 07:35:53 +00:00
change coverage commands
This commit is contained in:
parent
a3b2539b4f
commit
cbaf700a7a
4
.github/workflows/test.lint.code.yml
vendored
4
.github/workflows/test.lint.code.yml
vendored
@ -9,7 +9,7 @@ jobs:
|
|||||||
name: Detect File Changes - frontend-test-lint-code
|
name: Detect File Changes - frontend-test-lint-code
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
frontend-test-lint-code: ${{ steps.changes.outputs.frontend-test-lint-code }}
|
changes: ${{ steps.changes.outputs.frontend-test-lint-code }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.3.0
|
- uses: actions/checkout@v3.3.0
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ jobs:
|
|||||||
list-files: shell
|
list-files: shell
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
if: needs.files-changed.outputs.frontend-test-lint-code == 'true'
|
if: needs.files-changed.outputs.changes == 'true'
|
||||||
name: Lint - Frontend
|
name: Lint - Frontend
|
||||||
needs: files-changed
|
needs: files-changed
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
4
.github/workflows/test.unit.code.yml
vendored
4
.github/workflows/test.unit.code.yml
vendored
@ -9,7 +9,7 @@ jobs:
|
|||||||
name: Detect File Changes - frontend-test-unit-code
|
name: Detect File Changes - frontend-test-unit-code
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
frontend-test-unit-code: ${{ steps.changes.outputs.frontend-test-unit-code }}
|
changes: ${{ steps.changes.outputs.frontend-test-unit-code }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.3.0
|
- uses: actions/checkout@v3.3.0
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ jobs:
|
|||||||
list-files: shell
|
list-files: shell
|
||||||
|
|
||||||
unit:
|
unit:
|
||||||
if: needs.files-changed.outputs.frontend-test-unit-code == 'true'
|
if: needs.files-changed.outputs.changes == 'true'
|
||||||
name: Unit - Frontend
|
name: Unit - Frontend
|
||||||
needs: files-changed
|
needs: files-changed
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
17
README.md
17
README.md
@ -41,8 +41,8 @@ The following commands are available:
|
|||||||
| `npm run test:lint` | Run all linters |
|
| `npm run test:lint` | Run all linters |
|
||||||
| `npm run test:lint:eslint` | Run linter eslint |
|
| `npm run test:lint:eslint` | Run linter eslint |
|
||||||
| `npm run test:lint:remark` | Run linter remark |
|
| `npm run test:lint:remark` | Run linter remark |
|
||||||
| `npm run test:unit` | Run all unit tests in watch mode |
|
| `npm run test:unit` | Run all unit tests and generate coverage report |
|
||||||
| `npm run test:unit:coverage` | Run all unit tests and generate coverage report |
|
| `npm run test:unit:dev` | Run all unit tests in watch mode |
|
||||||
| `npm test` | Run all tests & linters |
|
| `npm test` | Run all tests & linters |
|
||||||
| **Storybook** | |
|
| **Storybook** | |
|
||||||
| `npm run storybook` | Run Storybook |
|
| `npm run storybook` | Run Storybook |
|
||||||
@ -76,20 +76,11 @@ The following endpoints are provided given the right command is executed or all
|
|||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
|
|
||||||
- [x] vite
|
|
||||||
- [x] vike
|
|
||||||
- [x] vue3
|
|
||||||
- [x] vuetify
|
|
||||||
- [x] pinia store
|
|
||||||
- [x] storybook
|
|
||||||
- [x] eslint
|
|
||||||
- [x] vitest
|
|
||||||
- [x] vue-i18n
|
|
||||||
- [x] docker
|
|
||||||
- [x] vuepress
|
|
||||||
- [ ] figma
|
- [ ] figma
|
||||||
- [ ] chromatic
|
- [ ] chromatic
|
||||||
- [ ] github actions
|
- [ ] github actions
|
||||||
|
- [ ] lint locales
|
||||||
|
- [ ] zähler -> pinia
|
||||||
|
|
||||||
## Known Problems
|
## Known Problems
|
||||||
|
|
||||||
|
|||||||
@ -43,9 +43,9 @@
|
|||||||
"test:lint": "npm run test:lint:eslint && npm run test:lint:remark",
|
"test:lint": "npm run test:lint:eslint && npm run test:lint:remark",
|
||||||
"test:lint:eslint": "eslint --ext .vue,.ts,.tsx,.js,.jsx,.json,.yml,.yaml --max-warnings 0 --ignore-path .gitignore .",
|
"test:lint:eslint": "eslint --ext .vue,.ts,.tsx,.js,.jsx,.json,.yml,.yaml --max-warnings 0 --ignore-path .gitignore .",
|
||||||
"test:lint:remark": "remark . --quiet --frail",
|
"test:lint:remark": "remark . --quiet --frail",
|
||||||
"test:unit": "vitest",
|
"test:unit": "npm run test:unit -- run --coverage",
|
||||||
"test:unit:coverage": "npm run test:unit -- run --coverage",
|
"test:unit:dev": "vitest",
|
||||||
"test": "npm run test:lint && npm run test:unit:coverage",
|
"test": "npm run test:lint && npm run test:unit",
|
||||||
"docs:dev": "vuepress dev .",
|
"docs:dev": "vuepress dev .",
|
||||||
"docs:build": "vuepress build ."
|
"docs:build": "vuepress build ."
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user