Skip to content

Commit

Permalink
chore: update vitest typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Dec 7, 2023
1 parent 62100fb commit 39f9434
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autofix.yml
Expand Up @@ -23,4 +23,4 @@ jobs:
run: pnpm run lint:fix
- uses: autofix-ci/action@bee19d72e71787c12ca0f29de72f2833e437e4c9
with:
commit-message: "chore: apply automated lint fixes"
commit-message: "chore: apply automated fixes"
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -29,7 +29,6 @@ jobs:
- run: pnpm install
- run: pnpm lint
- run: pnpm build
- run: pnpm test:types
- run: pnpm vitest --coverage && rm -rf coverage/tmp
- uses: codecov/codecov-action@v3
- name: nightly release
Expand Down
3 changes: 1 addition & 2 deletions package.json
Expand Up @@ -28,8 +28,7 @@
"profile": "0x -o -D .profile -P 'autocannon -c 100 -p 10 -d 40 http://localhost:$PORT' ./playground/server.cjs",
"release": "pnpm test && pnpm build && changelogen --release && pnpm publish && git push --follow-tags",
"release-rc": "pnpm test && pnpm build && changelogen --release --prerelease rc --push --publish --publishTag rc",
"test": "pnpm lint && vitest --run typecheck && vitest --run --coverage",
"test:types": "vitest typecheck"
"test": "pnpm lint && vitest --run --coverage"
},
"dependencies": {
"cookie-es": "^1.0.0",
Expand Down
1 change: 1 addition & 0 deletions vitest.config.ts
Expand Up @@ -3,6 +3,7 @@ import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
setupFiles: ["./test/_setup"],
typecheck: { enabled: true },
coverage: {
reporter: ["text", "clover", "json"],
},
Expand Down

0 comments on commit 39f9434

Please sign in to comment.