File tree Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -25,16 +25,15 @@ jobs:
2525 - name : Install
2626 run : npm ci
2727
28- - name : Test
29- run : |
30- npm run lint
31- npm run test:unit -- --runInBand
32- npm run test:e2e -- --headless
28+ - name : Run Unit Test
29+ run : npm run test:unit
3330
3431 - name : Build
3532 if : ${{ github.ref == 'refs/heads/master' }}
36- run : |
37- npm run build:demo
33+ run : npm run build:demo
34+
35+ - name : Run E2E Test
36+ run : npm run test:e2e
3837
3938 - name : Deploy to vue-live.surge.sh
4039 if : ${{ github.ref == 'refs/heads/master' }}
Original file line number Diff line number Diff line change 6363 <h2 >JSX</h2 >
6464 <VueLive :code =" realjsx" :layout =" CustomLayout" :jsx =" true" />
6565
66+ <h2 >Double Root</h2 >
67+ <VueLive :code =" doubleRoot" :layout =" CustomLayout" />
68+
6669 <h2 >Separate components for Editor and Preview</h2 >
6770 <div class =" separate" >
6871 <div class =" preview-separate" >
7578 </div >
7679 </div >
7780
78- <github-corners url =" https://github.com/vue-styleguidist/vue-live" gitColor =" #FFFFFF" />
81+ <github-corners href =" https://github.com/vue-styleguidist/vue-live" gitColor =" #FFFFFF" />
7982 </main >
8083</template >
8184<script lang="ts">
@@ -87,6 +90,7 @@ import codeSfc from "./assets/Button.vue?raw";
8790import codeJs from " ./assets/input.js?raw" ;
8891import realjsx from " ./assets/real.jsx?raw" ;
8992import codeTemplate from " ./assets/PureTemplate.html?raw" ;
93+ import doubleRoot from " ./assets/PureTemplateDoubleRoot.html?raw" ;
9094import codeChicago from " ./assets/Chicago.jsx?raw" ;
9195import all from " ./assets/chicagoNeighbourhoods" ;
9296import " prismjs/themes/prism-tomorrow.css" ;
@@ -109,6 +113,7 @@ export default defineComponent({
109113 chicagoRequires: { " ./chicagoNeighbourhoods" : all },
110114 realjsx ,
111115 separateCode: codeSfc ,
116+ doubleRoot ,
112117 openExamples: false ,
113118 error: undefined ,
114119 };
Original file line number Diff line number Diff line change 1+ < div > A</ div >
2+ < div > B</ div >
You can’t perform that action at this time.
0 commit comments