File tree Expand file tree Collapse file tree 5 files changed +1249
-17
lines changed Expand file tree Collapse file tree 5 files changed +1249
-17
lines changed Original file line number Diff line number Diff line change 1+ name : Code Check
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+ branches :
9+ - master
10+
11+ jobs :
12+ build :
13+ name : Check codebase (lint and typecheck)
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v2
17+ - uses : actions/setup-node@v3
18+ with :
19+ node-version : 18
20+ cache : ' yarn'
21+
22+ - name : Installation
23+ run : yarn --frozen-lockfile
24+
25+ - name : Lint
26+ run : yarn lint
27+
28+ - name : Test
29+ run : yarn run test
30+
31+ - name : Library Build
32+ run : yarn run build
33+
34+ - name : Storybook Build
35+ run : yarn run storybook:build
Original file line number Diff line number Diff line change @@ -8,4 +8,5 @@ bundle-stats.html
88.next
99.out
1010.history /
11- stats.html
11+ stats.html
12+ /.idea
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ module.exports = {
66 "@storybook/addon-controls" ,
77 // "@storybook/addon-actions"
88 ] ,
9+ core : {
10+ builder : 'webpack5' ,
11+ } ,
912 "webpackFinal" : async ( config ) => {
1013 config . module . rules . push ( {
1114 test : / \. m j s $ / ,
@@ -14,4 +17,4 @@ module.exports = {
1417 } )
1518 return config
1619 }
17- }
20+ }
Original file line number Diff line number Diff line change 3636 "@rollup/plugin-node-resolve" : " ^13.0.4" ,
3737 "@rollup/plugin-replace" : " ^3.0.0" ,
3838 "@storybook/addon-controls" : " ^6.4.13" ,
39+ "@storybook/builder-webpack5" : " ^6.5.16" ,
40+ "@storybook/manager-webpack5" : " ^6.5.16" ,
3941 "@storybook/react" : " ^6.4.13" ,
4042 "@types/react" : " ^17.0.38" ,
4143 "babel-jest" : " ^27.0.6" ,
6062 "rollup-plugin-visualizer" : " ^5.5.4" ,
6163 "styled-components" : " ^4.0.0-beta.8" ,
6264 "typescript" : " ^2.9.2" ,
63- "typings-tester" : " ^0.3.1"
65+ "typings-tester" : " ^0.3.1" ,
66+ "webpack" : " ^5.76.3"
6467 },
6568 "files" : [
6669 " src" ,
You can’t perform that action at this time.
0 commit comments