Commit a2141b8 1 parent 7d55c14 commit a2141b8 Copy full SHA for a2141b8
File tree 2 files changed +73
-0
lines changed
2 files changed +73
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Lint
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+
8
+ pull_request :
9
+ branches :
10
+ - master
11
+
12
+ jobs :
13
+ lint :
14
+ runs-on : ubuntu-latest
15
+
16
+ steps :
17
+ - name : Checkout
18
+ uses : actions/checkout@v3
19
+
20
+ - name : Install pnpm
21
+ uses : pnpm/action-setup@v2.1.0
22
+ with :
23
+ version : latest
24
+
25
+ - name : Use Node.js
26
+ uses : actions/setup-node@v2
27
+ with :
28
+ node-version : 14.*
29
+ cache : pnpm
30
+
31
+ - name : Install dependencies
32
+ run : pnpm install
33
+
34
+ - name : Lint
35
+ run : pnpm lint
Original file line number Diff line number Diff line change
1
+ name : Test
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+
8
+ pull_request :
9
+ branches :
10
+ - master
11
+
12
+ jobs :
13
+ test :
14
+ runs-on : ubuntu-latest
15
+
16
+ steps :
17
+ - name : Checkout
18
+ uses : actions/checkout@v3
19
+
20
+ - name : Install pnpm
21
+ uses : pnpm/action-setup@v2.1.0
22
+ with :
23
+ version : latest
24
+
25
+ - name : Use Node.js
26
+ uses : actions/setup-node@v2
27
+ with :
28
+ node-version : 14.*
29
+ cache : pnpm
30
+
31
+ - name : Install dependencies
32
+ run : pnpm install
33
+
34
+ - name : Generate code coverage
35
+ run : pnpm test
36
+
37
+ - name : Upload code coverage
38
+ uses : codecov/codecov-action@v2
You can’t perform that action at this time.
0 commit comments