Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ jobs:
- name: Clean install Node dependencies
run: pnpm i --frozen-lockfile

- name: Type check
run: pnpm run typecheck

- name: Run unit tests
run: pnpm run test:unit

- name: Build production files
run: pnpm run build

Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/qa.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: qa

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on: [pull_request]

jobs:
qa:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6

- name: Setup pnpm 10
uses: pnpm/action-setup@v4
with:
version: 10

- name: Setup Node 24
uses: actions/setup-node@v6
with:
node-version: '24.x'

- name: Clean install Node dependencies
run: pnpm i --frozen-lockfile

- name: Type check
run: pnpm run typecheck

- name: Run unit tests
run: pnpm run test:unit

- name: Build production files
run: pnpm run build
1 change: 1 addition & 0 deletions eslint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export default defineConfigWithVueTs(
{
rules: {
'vue/multi-word-component-names': 'off',
'@typescript-eslint/no-namespace': 'off',
},
},

Expand Down
13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "run-p type-check \"build-only {@}\" --",
"build": "vite build",
"preview": "vite preview",
"test:unit": "vitest",
"build-only": "vite build",
"type-check": "vue-tsc --build",
"test:unit": "vitest --run",
"typecheck": "vue-tsc --build",
"lint": "eslint . --fix --cache",
"format": "prettier --write --experimental-cli src/"
},
Expand All @@ -18,21 +17,21 @@
},
"devDependencies": {
"@tsconfig/node24": "^24.0.4",
"@types/jsdom": "^27.0.0",
"@types/node": "^24.10.11",
"@vitejs/plugin-vue": "^6.0.4",
"@vitest/coverage-v8": "^4.0.18",
"@vitest/eslint-plugin": "^1.6.6",
"@vue/eslint-config-typescript": "^14.6.0",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.8.1",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-vue": "~10.7.0",
"happy-dom": "^20.5.0",
"jiti": "^2.6.1",
"jsdom": "^27.4.0",
"npm-run-all2": "^8.0.4",
"prettier": "3.8.1",
"sass": "^1.97.3",
"type-fest": "^5.4.3",
"typescript": "~5.9.3",
"vite": "^7.3.1",
"vite-plugin-vue-devtools": "^8.0.6",
Expand Down
Loading