File tree 2 files changed +45
-1
lines changed
2 files changed +45
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ pull_request :
9
+ branches :
10
+ - main
11
+
12
+ jobs :
13
+ lint :
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/checkout@v4
17
+ - uses : pnpm/action-setup@v2
18
+ - uses : actions/setup-node@v4
19
+ with :
20
+ node-version : lts/*
21
+ cache : pnpm
22
+
23
+ - name : Install
24
+ run : pnpm install
25
+
26
+ - name : Lint
27
+ run : pnpm run lint
28
+
29
+ typecheck :
30
+ runs-on : ubuntu-latest
31
+ steps :
32
+ - uses : actions/checkout@v4
33
+ - uses : pnpm/action-setup@v2
34
+ - uses : actions/setup-node@v4
35
+ with :
36
+ node-version : lts/*
37
+ cache : pnpm
38
+
39
+ - name : Install
40
+ run : pnpm install
41
+
42
+ - name : Typecheck
43
+ run : pnpm run typecheck
Original file line number Diff line number Diff line change 7
7
"dev" : " nuxt dev" ,
8
8
"generate" : " nuxt generate" ,
9
9
"preview" : " nuxt preview" ,
10
- "postinstall" : " nuxt prepare"
10
+ "postinstall" : " nuxt prepare" ,
11
+ "typecheck" : " vue-tsc --noEmit"
11
12
},
12
13
"dependencies" : {
13
14
"@nuxtjs/color-mode" : " ^3.5.2" ,
You can’t perform that action at this time.
0 commit comments