diff --git a/.github/workflows/test.lint.code.yml b/.github/workflows/test.lint.code.yml index dc728b7..9f79917 100644 --- a/.github/workflows/test.lint.code.yml +++ b/.github/workflows/test.lint.code.yml @@ -9,7 +9,7 @@ jobs: name: Detect File Changes - frontend-test-lint-code runs-on: ubuntu-latest outputs: - frontend-test-lint-code: ${{ steps.changes.outputs.frontend-test-lint-code }} + changes: ${{ steps.changes.outputs.frontend-test-lint-code }} steps: - uses: actions/checkout@v3.3.0 @@ -22,7 +22,7 @@ jobs: list-files: shell lint: - if: needs.files-changed.outputs.frontend-test-lint-code == 'true' + if: needs.files-changed.outputs.changes == 'true' name: Lint - Frontend needs: files-changed runs-on: ubuntu-latest diff --git a/.github/workflows/test.unit.code.yml b/.github/workflows/test.unit.code.yml index 47eab92..336c7e3 100644 --- a/.github/workflows/test.unit.code.yml +++ b/.github/workflows/test.unit.code.yml @@ -9,7 +9,7 @@ jobs: name: Detect File Changes - frontend-test-unit-code runs-on: ubuntu-latest outputs: - frontend-test-unit-code: ${{ steps.changes.outputs.frontend-test-unit-code }} + changes: ${{ steps.changes.outputs.frontend-test-unit-code }} steps: - uses: actions/checkout@v3.3.0 @@ -22,7 +22,7 @@ jobs: list-files: shell unit: - if: needs.files-changed.outputs.frontend-test-unit-code == 'true' + if: needs.files-changed.outputs.changes == 'true' name: Unit - Frontend needs: files-changed runs-on: ubuntu-latest diff --git a/README.md b/README.md index f1bd5c0..2e96863 100644 --- a/README.md +++ b/README.md @@ -41,8 +41,8 @@ The following commands are available: | `npm run test:lint` | Run all linters | | `npm run test:lint:eslint` | Run linter eslint | | `npm run test:lint:remark` | Run linter remark | -| `npm run test:unit` | Run all unit tests in watch mode | -| `npm run test:unit:coverage` | Run all unit tests and generate coverage report | +| `npm run test:unit` | 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 | | **Storybook** | | | `npm run storybook` | Run Storybook | @@ -76,20 +76,11 @@ The following endpoints are provided given the right command is executed or all ## 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 - [ ] chromatic - [ ] github actions +- [ ] lint locales +- [ ] zähler -> pinia ## Known Problems diff --git a/package.json b/package.json index e2aae9d..511f10c 100644 --- a/package.json +++ b/package.json @@ -43,9 +43,9 @@ "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:remark": "remark . --quiet --frail", - "test:unit": "vitest", - "test:unit:coverage": "npm run test:unit -- run --coverage", - "test": "npm run test:lint && npm run test:unit:coverage", + "test:unit": "npm run test:unit -- run --coverage", + "test:unit:dev": "vitest", + "test": "npm run test:lint && npm run test:unit", "docs:dev": "vuepress dev .", "docs:build": "vuepress build ." },