File tree Expand file tree Collapse file tree 3 files changed +15
-5
lines changed
Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -2,30 +2,40 @@ name: CI Build
22
33on :
44 push :
5- branches : main
5+ branches : [main]
6+
67 pull_request :
78
89jobs :
910 build :
1011 runs-on : ubuntu-latest
1112
1213 steps :
13- - uses : actions/checkout@v4
14+ - name : Checkout
15+ uses : actions/checkout@v4
16+
1417 - name : Set up Node.js
1518 uses : actions/setup-node@v2
1619 with :
1720 node-version-file : .nvmrc
21+
1822 - name : Enable corepack
1923 run : corepack enable
24+
2025 - name : Set Yarn version
2126 run : yarn set version stable
27+
2228 - name : Yarn Install
2329 run : yarn
30+
2431 - name : Lint
2532 run : yarn lint
33+
2634 - name : Jest Tests
2735 run : yarn test --coverage
36+
2837 - name : Typescript build
2938 run : yarn build
39+
3040 - name : Storybook build
3141 run : yarn build-storybook
Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010
1111 steps :
12- - uses : actions/checkout@v4
12+ - name : Checkout
13+ uses : actions/checkout@v4
1314 with :
1415 fetch-depth : 0
1516
Original file line number Diff line number Diff line change @@ -2,8 +2,7 @@ name: Build & Deploy Storybook
22
33on :
44 push :
5- branches :
6- - main
5+ branches : [main]
76
87jobs :
98 build-and-deploy :
You can’t perform that action at this time.
0 commit comments