Skip to content

Commit

Permalink
qual: run pnpm run test in CI instead of tsc directly
Browse files Browse the repository at this point in the history
  • Loading branch information
lourot committed Sep 20, 2023
1 parent 7b94b8d commit ab44001
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
working-directory: ./examples/ssr-spa

- name: Test TypeScript examples/basic
run: pnpm exec tsc --noEmit
run: pnpm run test
working-directory: ./examples/basic
- name: Test TypeScript examples/ssr-spa
run: pnpm exec tsc --noEmit
run: pnpm run test
working-directory: ./examples/ssr-spa
3 changes: 2 additions & 1 deletion examples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview"
"preview": "vite preview",
"test": "tsc --noEmit"
},
"dependencies": {
"@types/react": "^18.0.8",
Expand Down
3 changes: 2 additions & 1 deletion examples/ssr-spa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview"
"preview": "vite preview",
"test": "tsc --noEmit"
},
"dependencies": {
"@types/react": "^18.0.8",
Expand Down

0 comments on commit ab44001

Please sign in to comment.