Skip to content

Commit

Permalink
chore: add type check to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jun 21, 2023
1 parent b42deef commit 57e6901
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
cache: "pnpm"
- run: pnpm install
- run: pnpm lint
- run: pnpm test:types
- run: pnpm build
- run: pnpm vitest --coverage
- uses: codecov/codecov-action@v3
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"lint:fix": "eslint --ext .ts . --fix && prettier -w src test demo docs/content",
"prepack": "pnpm build",
"release": "pnpm test && changelogen --release && git push --follow-tags && pnpm publish",
"test": "pnpm lint && vitest run --coverage",
"test": "pnpm lint && pnpm test:types && vitest run --coverage",
"test:types": "tsc --noEmit --skipLibCheck",
"unstorage": "pnpm jiti src/cli"
},
"dependencies": {
Expand Down

0 comments on commit 57e6901

Please sign in to comment.