File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Build & Size Limit
1+ name : Build
22on : [push, pull_request]
33jobs :
44 build :
2626 - run : yarn bootstrap
2727 - name : Build package
2828 run : yarn build
29- - name : Check built package sizes
30- run : yarn size
Original file line number Diff line number Diff line change 1+ name : Size Limit
2+ on : [push, pull_request]
3+ jobs :
4+ build :
5+ name : Node ${{ matrix.node_version }} on ${{ matrix.os }}
6+ runs-on : ${{ matrix.os }}
7+ strategy :
8+ matrix :
9+ node_version : [14]
10+ os : [ubuntu-latest]
11+ steps :
12+ - uses : actions/checkout@v2
13+ - name : Use node ${{ matrix.node_version }}
14+ uses : actions/setup-node@v1
15+ with :
16+ node-version : ${{ matrix.node_version }}
17+ - name : Restore lerna cache
18+ uses : actions/cache@v2
19+ with :
20+ path : |
21+ node_modules
22+ */*/node_modules
23+ key : ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
24+ - name : Install yarn dependencies
25+ run : yarn install
26+ - run : yarn bootstrap
27+ - name : Build package
28+ run : yarn build
29+ - name : Check built package sizes
30+ run : yarn size
You can’t perform that action at this time.
0 commit comments