Commit b3c247e 1 parent 6fecfd3 commit b3c247e Copy full SHA for b3c247e
File tree 2 files changed +39
-3
lines changed
2 files changed +39
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : check branch
2
+
3
+ on : pull_request
4
+
5
+ jobs :
6
+ check-branch :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v2
10
+ - uses : actions/setup-node@v2
11
+ with :
12
+ node-version : ' lts/*'
13
+ cache : ' yarn'
14
+
15
+ - name : Install dependencies
16
+ run : yarn install
17
+
18
+ - name : Linting
19
+ run : yarn lint
20
+
21
+ - name : Unit Tests
22
+ run : yarn test:unit:coverage
23
+
24
+ - name : Test types
25
+ run : yarn test:types
26
+
27
+ - name : Upload coverage reports to Codecov
28
+ uses : codecov/codecov-action@v3
29
+ env :
30
+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
31
+
32
+ - name : Coveralls
33
+ uses : coverallsapp/github-action@master
34
+ with :
35
+ github-token : ${{ secrets.GITHUB_TOKEN }}
36
+
37
+ - name : Check size
38
+ run : yarn test:size
Original file line number Diff line number Diff line change 1
- name : check branch
1
+ name : release
2
2
3
3
on :
4
4
push :
5
5
branches : ['master', 'alpha', 'beta']
6
- pull_request :
7
- branches : ['master', 'alpha', 'beta']
8
6
9
7
jobs :
10
8
check-branch :
You can’t perform that action at this time.
0 commit comments