Skip to content

Commit

Permalink
ci: faster
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Jan 21, 2025
1 parent 6ab94a2 commit 5ac6ea4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ jobs:

- name: Tests with coverage
if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == 'lts/*' }}
run: pnpm run dev -- --coverage
run: pnpm run vitest --coverage

- name: Tests
if: ${{ matrix.os != 'ubuntu-latest' || matrix.node != 'lts/*' }}
run: pnpm run dev
run: pnpm run vitest

- name: Upload coverage to Codecov
if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == 'lts/*' }}
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@
"build": "pnpm run build:core && pnpm run build:runtime",
"build:core": "tsup",
"build:runtime": "tsup --config tsup-runtime.config.ts",
"dev": "vitest --typecheck --ui",
"dev": "pnpm run vitest --ui",
"vitest": "vitest --typecheck",
"docs": "vitepress dev docs",
"docs:build": "vitepress build docs",
"lint": "prettier -c '{src,test,e2e,examples,playground}/**/*.{ts,vue}'",
Expand Down

0 comments on commit 5ac6ea4

Please sign in to comment.