File tree Expand file tree Collapse file tree 4 files changed +40
-82
lines changed
Expand file tree Collapse file tree 4 files changed +40
-82
lines changed Original file line number Diff line number Diff line change 1010 - develop
1111 - feat/*
1212 - hotfix/*
13+ concurrency :
14+ group : ${{ github.workflow }}-${{ github.ref }}
15+ cancel-in-progress : true
1316jobs :
17+ storybook :
18+ permissions : write-all
19+ runs-on : ubuntu-latest
20+ timeout-minutes : 5
21+ outputs :
22+ status : ${{ job.status }}
23+ steps :
24+ - name : checkout repository
25+ uses : actions/checkout@v3
26+ with :
27+ fetch-depth : 0
28+
29+ - name : cache dependencies
30+ id : cache
31+ uses : actions/cache@v3
32+ with :
33+ path : ' **/node_modules'
34+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}-storybook
35+
36+ - name : depedency install
37+ if : steps.cache.outputs.cache-hit != 'true'
38+ run : npm ci
39+
40+ - name : publish to chromatic
41+ id : chromatic
42+ uses : chromaui/action@v1
43+ with :
44+ projectToken : ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
45+ token : ${{ secrets.GITHUB_TOKEN }}
46+ - name : comment PR
47+ uses : thollander/actions-comment-pull-request@v1
48+ env :
49+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
50+ with :
51+ message : ' 🚀storybook: ${{ steps.chromatic.outputs.storybookUrl }}'
1452 build :
1553 name : Build
1654 runs-on : ubuntu-latest
55+ timeout-minutes : 5
1756 steps :
1857 - name : Checkout
1958 uses : actions/checkout@v3
Original file line number Diff line number Diff line change 1- import CustomButton from '@/components/input/CustomButton' ;
2-
31export default function Home ( ) {
4- return (
5- < div className = "container" >
6- CREW CREW
7- < CustomButton label = "CustomButton" />
8- </ div >
9- ) ;
2+ return < div className = "container" > CREW CREW</ div > ;
103}
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments