File tree Expand file tree Collapse file tree 3 files changed +57
-0
lines changed
example/documentation/.vuepress Expand file tree Collapse file tree 3 files changed +57
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy example on now
2+
3+ on : [push]
4+
5+ jobs :
6+ deploy_example :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v1
10+ - uses : borales/actions-yarn@v2.0.0
11+ with :
12+ cmd : install
13+ - uses : borales/actions-yarn@v2.0.0
14+ with :
15+ cmd : test
16+
17+ - name : Deploy example to now
18+ run : |
19+ cd example
20+ npx now --token=${{ secrets.ZEIT_TOKEN }} --name=vuepress-jsdoc-example --prod
Original file line number Diff line number Diff line change 1+ name : Test and publish to npm
2+
3+ on :
4+ push :
5+ tags :
6+ - v*
7+
8+ jobs :
9+ test :
10+ runs-on : ubuntu-latest
11+
12+ strategy :
13+ matrix :
14+ node-version : [8.x, 10.x, 12.x]
15+
16+ steps :
17+ - uses : actions/checkout@v1
18+ - name : Use Node.js ${{ matrix.node-version }}
19+ uses : actions/setup-node@v1
20+ with :
21+ node-version : ${{ matrix.node-version }}
22+
23+ - name : npm install and test
24+ run : |
25+ npm install
26+ npm test
27+
28+ release :
29+ runs-on : ubuntu-latest
30+ steps :
31+ - uses : actions/checkout@v1
32+ - name : Make stable release to npm
33+ uses : epeli/npm-release@v1
34+ with :
35+ type : stable
36+ token : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ const { sidebarTree } = require('../code/config');
22
33module . exports = {
44 contentLoading : true ,
5+ dest : 'public' ,
56 title : 'Hello vuepress-jsdoc' ,
67 description : 'Just playing around with vuepress-jsdoc' ,
78 locales : {
You can’t perform that action at this time.
0 commit comments