File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 cache : pnpm
2222 - name : Install dependencies
2323 run : pnpm install --frozen-lockfile --ignore-scripts
24- - name : Run tests
24+ - name : Linter
2525 run : pnpm test:lint
2626
Original file line number Diff line number Diff line change 1- name : " Size- Limit"
1+ name : Size Limit
22
33on :
44 pull_request :
5+ push :
56 branches :
67 - main
8+
79jobs :
8- size :
10+ size-limit :
911 runs-on : ubuntu-latest
10- env :
11- CI_JOB_NUMBER : 1
1212 steps :
13- - uses : actions/checkout@v4
13+ - name : Checkout the repository
14+ uses : actions/checkout@v4
1415 - name : Install pnpm
1516 uses : pnpm/action-setup@v4
1617 - name : Install Node.js
2021 cache : pnpm
2122 - name : Install dependencies
2223 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 2626 run : pnpm install --frozen-lockfile --ignore-scripts
2727 - name : Type Check
2828 run : pnpm --filter react-dadata test:type-check
29- - name : Run tests
29+ - name : Tests
3030 run :
3131 pnpm test
3232 - name : Coveralls
Original file line number Diff line number Diff line change 6767 "name" : " AddressSuggestions" ,
6868 "path" : " dist/esm/index.js" ,
6969 "import" : " { AddressSuggestions }" ,
70- "limit" : " 6 KB"
70+ "limit" : " 5.5 KB"
7171 },
7272 {
7373 "name" : " PartySuggestions" ,
7474 "path" : " dist/esm/index.js" ,
7575 "import" : " { PartySuggestions }" ,
76- "limit" : " 6 KB"
76+ "limit" : " 5.5 KB"
7777 },
7878 {
7979 "name" : " FioSuggestions" ,
8080 "path" : " dist/esm/index.js" ,
8181 "import" : " { FioSuggestions }" ,
82- "limit" : " 6 KB"
82+ "limit" : " 5.5 KB"
8383 },
8484 {
8585 "name" : " BankSuggestions" ,
8686 "path" : " dist/esm/index.js" ,
8787 "import" : " { BankSuggestions }" ,
88- "limit" : " 6 KB"
88+ "limit" : " 5.5 KB"
8989 }
9090 ],
9191 "browserslist" : {
You can’t perform that action at this time.
0 commit comments