Skip to content

Commit 88ffb91

Browse files
committed
Fix CI
1 parent c2ec687 commit 88ffb91

5 files changed

Lines changed: 22 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@ jobs:
2525
- name: Install dependencies
2626
run: vp install --frozen-lockfile
2727

28+
- name: Build
29+
run: vp run -r build
30+
2831
- name: Lint
2932
run: vp lint
3033

31-
- name: Typecheck
32-
run: vp run -r check
34+
- name: Format check
35+
run: vp fmt
3336

3437
- name: Test
35-
run: vp run -r test
36-
37-
- name: Build
38-
run: vp run -r build
38+
run: vp test
3939

4040
- name: Example smoke test
4141
run: SQLF_SKIP_BUILD=1 vp run example:smoke

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ pnpm-debug.log*
88
lerna-debug.log*
99

1010
node_modules
11+
.pnpm-store
1112
dist
1213
dist-ssr
1314
*.local

packages/cli/vite.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@ export default defineConfig({
1010
},
1111
},
1212
lint: {
13+
ignorePatterns: ["dist/**", "node_modules/**", ".pnpm-store/**"],
1314
options: {
1415
typeAware: true,
1516
typeCheck: true,
1617
},
1718
},
18-
fmt: {},
19+
fmt: {
20+
ignorePatterns: ["dist/**", "node_modules/**", ".pnpm-store/**"],
21+
},
1922
});

packages/core/vite.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@ export default defineConfig({
66
exports: true,
77
},
88
lint: {
9+
ignorePatterns: ["dist/**", "node_modules/**", ".pnpm-store/**"],
910
options: {
1011
typeAware: true,
1112
typeCheck: true,
1213
},
1314
},
14-
fmt: {},
15+
fmt: {
16+
ignorePatterns: ["dist/**", "node_modules/**", ".pnpm-store/**"],
17+
},
1518
});

vite.config.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
import { defineConfig } from "vite-plus";
22

33
export default defineConfig({
4-
fmt: {},
5-
lint: { options: { typeAware: true, typeCheck: true } },
4+
fmt: {
5+
ignorePatterns: ["dist/**", "node_modules/**", ".pnpm-store/**"],
6+
},
7+
lint: {
8+
ignorePatterns: ["dist/**", "node_modules/**", ".pnpm-store/**"],
9+
options: { typeAware: true, typeCheck: true },
10+
},
611
run: {
712
cache: true,
813
},

0 commit comments

Comments
 (0)