Skip to content

Commit

Permalink
ci: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Sep 26, 2023
1 parent dba55ff commit 1c70dbf
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
- name: Install deps
run: pnpm install

- name: Build
run: pnpm run

- name: Test unit
run: pnpm run test

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"@types/node": "^20.7.0",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@vitest/coverage-v8": "^0.34.5",
"@vue/babel-plugin-jsx": "workspace:*",
"bumpp": "^9.2.0",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@
},
"noEmit": true,
"customConditions": ["dev"]
},
"include": ["packages/*/src", "packages/*/test"]
}
}
5 changes: 4 additions & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import { defineConfig } from 'vitest/config';
import { babel } from '@rollup/plugin-babel';
import Jsx from './packages/babel-plugin-jsx/src';
import Jsx from '@vue/babel-plugin-jsx';

export default defineConfig({
resolve: {
conditions: ['dev'],
},
esbuild: {
jsx: 'preserve',
},
Expand Down

0 comments on commit 1c70dbf

Please sign in to comment.