File tree Expand file tree Collapse file tree 3 files changed +39
-2
lines changed
Expand file tree Collapse file tree 3 files changed +39
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Package to npmjs
2+ on :
3+ push :
4+ branches :
5+ - master
6+ jobs :
7+ npm-publish :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Checkout 🔔
11+ uses : actions/checkout@v3
12+ - name : Node Setup 🔔
13+ uses : actions/setup-node@v3
14+ with :
15+ node-version : 18
16+ registry-url : ' https://registry.npmjs.org'
17+ - name : Install & Build 🔨
18+ run : |
19+ yarn
20+ yarn build
21+ - name : Publish 🚀
22+ run : yarn publish
23+ env :
24+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
25+ storybook-publish :
26+ runs-on : ubuntu-latest
27+ steps :
28+ - name : Checkout 🔔
29+ uses : actions/checkout@v3
30+ - name : Install & Build 🔨
31+ run : |
32+ yarn
33+ yarn build:storybook
34+ - name : Deploy 🚀
35+ uses : JamesIves/github-pages-deploy-action@v4
36+ with :
37+ token : ${{ secrets.PUBLISH_TOKEN }}
38+ folder : storybook-static
Original file line number Diff line number Diff line change 11{
22 "name" : " react-thumbnail-generator" ,
3- "version" : " 2.7.1 " ,
3+ "version" : " 2.8.0 " ,
44 "description" : " react-thumbnail-generator" ,
55 "main" : " dist/index.js" ,
66 "module" : " dist/index.js" ,
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ export const TGBodyWrapper = styled.section<{
2929 display: flex;
3030 justify-content: center;
3131 min-width: ${ ( { isFullWidth } ) => ( isFullWidth ? '100%' : '600px' ) } ;
32- min-height: 100vh;
3332 border-radius: 7px;
3433 box-shadow: 1px 1px 10px #cccccc;
3534 z-index: 9999;
You can’t perform that action at this time.
0 commit comments