Skip to content

Commit ccd96e8

Browse files
committed
ci: fix build
1 parent dba55ff commit ccd96e8

File tree

5 files changed

+12
-3
lines changed

5 files changed

+12
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
- name: Install deps
3535
run: pnpm install
3636

37+
- name: Build
38+
run: pnpm run build
39+
3740
- name: Test unit
3841
run: pnpm run test
3942

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"@types/node": "^20.7.0",
2626
"@typescript-eslint/eslint-plugin": "^6.7.3",
2727
"@vitest/coverage-v8": "^0.34.5",
28+
"@vue/babel-plugin-jsx": "workspace:*",
2829
"bumpp": "^9.2.0",
2930
"eslint": "^8.50.0",
3031
"eslint-config-prettier": "^9.0.0",

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,5 @@
1717
},
1818
"noEmit": true,
1919
"customConditions": ["dev"]
20-
},
21-
"include": ["packages/*/src", "packages/*/test"]
20+
}
2221
}

vitest.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
import { defineConfig } from 'vitest/config';
22
import { babel } from '@rollup/plugin-babel';
3-
import Jsx from './packages/babel-plugin-jsx/src';
3+
import Jsx from '@vue/babel-plugin-jsx';
44

55
export default defineConfig({
6+
resolve: {
7+
conditions: ['dev'],
8+
},
69
esbuild: {
710
jsx: 'preserve',
811
},

0 commit comments

Comments
 (0)