This repository was archived by the owner on Jan 5, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +1254
-21
lines changed
Expand file tree Collapse file tree 4 files changed +1254
-21
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+
3+ jobs :
4+ build :
5+ docker :
6+ - image : circleci/node:10
7+ working_directory : ~/repo
8+ steps :
9+ - checkout
10+ - restore_cache :
11+ keys :
12+ - v1-dependencies-{{ checksum "package.json" }}
13+ - v1-dependencies-
14+ - run : yarn install
15+ - save_cache :
16+ paths :
17+ - node_modules
18+ key : v1-dependencies-{{ checksum "package.json" }}
19+
20+ - run : yarn compile
21+
22+ workflows :
23+ version : 2
24+ test :
25+ jobs :
26+ - build
Original file line number Diff line number Diff line change 1+ name : " Chromatic"
2+ on :
3+ pull_request :
4+
5+ jobs :
6+ test :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v1
10+ - run : |
11+ yarn
12+ - run : |
13+ yarn compile
14+ - run : |
15+ yarn build-storybook
16+ - uses : chromaui/action@v1
17+ with :
18+ appCode : ${{ secrets.CHROMATIC_APP_CODE }}
19+ token : ${{ secrets.GITHUB_TOKEN }}
20+ storybookBuildDir : storybook-static
21+
Original file line number Diff line number Diff line change 1010 "clean" : " rimraf ./dist" ,
1111 "compile" : " babel ./src --out-dir ./dist" ,
1212 "prepublish" : " npm run clean && npm run compile" ,
13+ "build-storybook" : " build-storybook" ,
1314 "storybook" : " start-storybook -p 9010" ,
1415 "test" : " jest"
1516 },
2829 "@storybook/client-logger" : " ^5.0.0" ,
2930 "@storybook/react" : " ^5.0.0" ,
3031 "babel-loader" : " ^8.0.4" ,
31- "css-loader" : " ^3.1.0" ,
3232 "core-js" : " ^3.0.1" ,
33+ "css-loader" : " ^3.1.0" ,
3334 "eslint-config-taller" : " ^2.0.0" ,
3435 "eslint-plugin-flowtype" : " ^3.5.1" ,
3536 "jest" : " ^24.7.1" ,
4445 "@storybook/react" : " ^5.0.0" ,
4546 "babel-plugin-react-docgen" : " ^2.0.0" ,
4647 "react" : " >=15.0.0 || ^16.0.0"
48+ },
49+ "dependencies" : {
50+ "storybook-chromatic" : " ^3.0.3"
4751 }
4852}
You can’t perform that action at this time.
0 commit comments