File tree Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches :
4+ - master
5+
6+ jobs :
7+ build :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v2
11+ - uses : actions/setup-node@v1
12+ with :
13+ node-version : ' 14'
14+ - run : " npm install"
15+ - run : " npm run docs"
16+ -
uses :
JamesIves/[email protected] 17+ with :
18+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
19+ BRANCH : gh-pages
20+ FOLDER : docs-out
Original file line number Diff line number Diff line change 11node_modules /**
22package-lock.json
3- docs.json
43browser.js
54test /auth.js
5+ docs-out
Original file line number Diff line number Diff line change 2323 },
2424 "scripts" : {
2525 "lint" : " eslint src test --ext=js" ,
26- "docs" : " docgen --source src --output docs.json --jsdoc jsdoc.json --custom docgen.json" ,
26+ "docs" : " mkdir -p docs-out && docgen --source src --output docs-out/master .json --jsdoc jsdoc.json --custom docgen.json" ,
2727 "example" : " electron example/main.js" ,
2828 "build:browser" : " webpack-cli" ,
2929 "prepublishOnly" : " npm run lint && npm run build:browser"
You can’t perform that action at this time.
0 commit comments