File tree 2 files changed +13
-2
lines changed
2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 13
13
registry-url : https://registry.npmjs.org/
14
14
- run : yarn install
15
15
- run : yarn test
16
+ build :
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - uses : actions/checkout@v1
20
+ - uses : actions/setup-node@v1
21
+ with :
22
+ node-version : 12
23
+ registry-url : https://registry.npmjs.org/
24
+ - run : yarn install
25
+ - run : yarn run build-storybook
26
+ - run : yarn run build
Original file line number Diff line number Diff line change 17
17
"prepublish" : " run-s build" ,
18
18
"test" : " run-s test:unit test:lint test:build" ,
19
19
"test:build" : " run-s build" ,
20
- "test:lint" : " eslint . " ,
20
+ "test:lint" : " run-s lint " ,
21
21
"test:unit" : " cross-env CI=1 react-scripts test --env=jsdom --passWithNoTests" ,
22
22
"test:watch" : " react-scripts test --env=jsdom" ,
23
23
"predeploy" : " cd example && yarn install && yarn run build" ,
24
24
"deploy" : " gh-pages -d example/build" ,
25
25
"lint" : " eslint --ext .tsx ./src" ,
26
- "lint:watch" : " esw --watch --fix --ext .tsx ./src --no-ignore " ,
26
+ "lint:watch" : " esw --watch --fix --ext .tsx ./src" ,
27
27
"storybook" : " start-storybook -p 9009" ,
28
28
"build-storybook" : " build-storybook"
29
29
},
You can’t perform that action at this time.
0 commit comments