Skip to content

Commit

Permalink
chore: add typecheck to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
deot committed Dec 16, 2023
1 parent 7a7f92d commit ebc80a4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ jobs:

- run: pnpm install

- name: Run typecheck
run: npm run typecheck

- name: Run unit tests
run: npm run test -- --package-name '*'

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"update:try": "npm run update -- --no-dry-run --no-commit --no-push --no-test",
"release:try": "npm run release -- --no-dry-run --no-publish --no-push --no-tag --no-commit",
"bin:link": "cd ./packages/cli && npm link",
"bin:unlink": "cd ./packages/cli && npm unlink -g"
"bin:unlink": "cd ./packages/cli && npm unlink -g",
"typecheck": "tsc --noEmit --skipLibCheck"
},
"scripts-info": {
"init": "首次安装",
Expand Down
1 change: 1 addition & 0 deletions packages/vue/__tests__/fixtures/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @ts-nocheck
import App from './app.vue';

export { App };

0 comments on commit ebc80a4

Please sign in to comment.