File tree 4 files changed +15
-18
lines changed
4 files changed +15
-18
lines changed Original file line number Diff line number Diff line change 21
21
cache : pnpm
22
22
- name : Install dependencies
23
23
run : pnpm install --frozen-lockfile --ignore-scripts
24
- - name : Run tests
24
+ - name : Linter
25
25
run : pnpm test:lint
26
26
Original file line number Diff line number Diff line change 1
- name : " Size- Limit"
1
+ name : Size Limit
2
2
3
3
on :
4
4
pull_request :
5
+ push :
5
6
branches :
6
7
- main
8
+
7
9
jobs :
8
- size :
10
+ size-limit :
9
11
runs-on : ubuntu-latest
10
- env :
11
- CI_JOB_NUMBER : 1
12
12
steps :
13
- - uses : actions/checkout@v4
13
+ - name : Checkout the repository
14
+ uses : actions/checkout@v4
14
15
- name : Install pnpm
15
16
uses : pnpm/action-setup@v4
16
17
- name : Install Node.js
20
21
cache : pnpm
21
22
- name : Install dependencies
22
23
run : pnpm install --frozen-lockfile --ignore-scripts
23
- - name : Size Limit
24
- uses : andresz1/size-limit-action@v1
25
- with :
26
- build_script : build:ci
27
- directory : packages/react-dadata
28
- package_manager : pnpm
29
- github_token : ${{ secrets.GITHUB_TOKEN }}
24
+ - name : Run Size Limit
25
+ run : pnpm --filter react-dadata test:size-limit
26
+
Original file line number Diff line number Diff line change 26
26
run : pnpm install --frozen-lockfile --ignore-scripts
27
27
- name : Type Check
28
28
run : pnpm --filter react-dadata test:type-check
29
- - name : Run tests
29
+ - name : Tests
30
30
run :
31
31
pnpm test
32
32
- name : Coveralls
Original file line number Diff line number Diff line change 67
67
"name" : " AddressSuggestions" ,
68
68
"path" : " dist/esm/index.js" ,
69
69
"import" : " { AddressSuggestions }" ,
70
- "limit" : " 6 KB"
70
+ "limit" : " 5.5 KB"
71
71
},
72
72
{
73
73
"name" : " PartySuggestions" ,
74
74
"path" : " dist/esm/index.js" ,
75
75
"import" : " { PartySuggestions }" ,
76
- "limit" : " 6 KB"
76
+ "limit" : " 5.5 KB"
77
77
},
78
78
{
79
79
"name" : " FioSuggestions" ,
80
80
"path" : " dist/esm/index.js" ,
81
81
"import" : " { FioSuggestions }" ,
82
- "limit" : " 6 KB"
82
+ "limit" : " 5.5 KB"
83
83
},
84
84
{
85
85
"name" : " BankSuggestions" ,
86
86
"path" : " dist/esm/index.js" ,
87
87
"import" : " { BankSuggestions }" ,
88
- "limit" : " 6 KB"
88
+ "limit" : " 5.5 KB"
89
89
}
90
90
],
91
91
"browserslist" : {
You can’t perform that action at this time.
0 commit comments