File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on : [push, workflow_call]
4
+
5
+ jobs :
6
+ lint :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - name : Checkout code
10
+ uses : actions/checkout@v2
11
+ - run : corepack enable
12
+ - uses : actions/setup-node@v4
13
+ with :
14
+ node-version : 22
15
+ cache : ' pnpm'
16
+ - name : Install dependencies
17
+ run : pnpm install
18
+ - name : Build
19
+ run : pnpm build
20
+ - name : Lint
21
+ run : pnpm lint
22
+
23
+ typecheck :
24
+ runs-on : ubuntu-latest
25
+ steps :
26
+ - name : Checkout code
27
+ uses : actions/checkout@v2
28
+ - run : corepack enable
29
+ - uses : actions/setup-node@v4
30
+ with :
31
+ node-version : 22
32
+ cache : ' pnpm'
33
+ - name : Install dependencies
34
+ run : pnpm install
35
+ - name : Build
36
+ run : pnpm build
37
+ - name : Type Check
38
+ run : pnpm typecheck
39
+
40
+ tests :
41
+ runs-on : ubuntu-latest
42
+ steps :
43
+ - name : Checkout code
44
+ uses : actions/checkout@v2
45
+ - run : corepack enable
46
+ - uses : actions/setup-node@v4
47
+ with :
48
+ node-version : 22
49
+ cache : ' pnpm'
50
+ - name : Install dependencies
51
+ run : pnpm install
52
+ - name : Build
53
+ run : pnpm build
54
+ - name : Test
55
+ run : pnpm test
You can’t perform that action at this time.
0 commit comments