File tree Expand file tree Collapse file tree 3 files changed +63
-0
lines changed Expand file tree Collapse file tree 3 files changed +63
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Node.js CI
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+
9+ jobs :
10+ nodejs :
11+ # Documentation: https://github.com/zakodium/workflows#nodejs-ci
12+ uses : zakodium/workflows/.github/workflows/nodejs.yml@nodejs-v1
13+ with :
14+ node-version-matrix : ' [14, 16, 18]'
15+ lint-check-types : true
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ jobs :
9+ release :
10+ # Documentation: https://github.com/zakodium/workflows#release
11+ uses : zakodium/workflows/.github/workflows/release.yml@release-v1
12+ with :
13+ npm : true
14+ secrets :
15+ github-token : ${{ secrets.BOT_TOKEN }}
16+ npm-token : ${{ secrets.NPM_BOT_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Deploy TypeDoc on GitHub pages
2+
3+ on :
4+ workflow_dispatch :
5+ release :
6+ types : [published]
7+
8+ env :
9+ NODE_VERSION : 16.x
10+ ENTRY_FILE : ' src/index.ts'
11+
12+ jobs :
13+ deploy :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v3
17+ - uses : actions/setup-node@v3
18+ with :
19+ node-version : ${{ env.NODE_VERSION }}
20+ - name : Install dependencies
21+ run : npm install
22+ - name : Build documentation
23+ uses : zakodium/typedoc-action@v2
24+ with :
25+ entry : ${{ env.ENTRY_FILE }}
26+ - name : Deploy to GitHub pages
27+ uses : JamesIves/github-pages-deploy-action@releases/v4
28+ with :
29+ token : ${{ secrets.BOT_TOKEN }}
30+ branch : gh-pages
31+ folder : docs
32+ clean : true
You can’t perform that action at this time.
0 commit comments