Skip to content

Commit 2dbb2cb

Browse files
committed
chore: add typedoc.yml file, genrate docs and publish to github pages
1 parent 5f6af73 commit 2dbb2cb

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

Diff for: .github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
yarn test:coverage
6060
6161
- name: Upload coverage to Codecov
62-
uses: codecov/codecov-action@v3
62+
uses: codecov/codecov-action@v4.0.1
6363
with:
6464
token: ${{ secrets.CODECOV_TOKEN }}
6565
flags: ${{ runner.os }}

Diff for: .github/workflows/typedoc.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v2
15+
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v2
18+
with:
19+
node-version: '18'
20+
21+
- name: Install dependencies
22+
run: yarn install
23+
24+
- name: Build
25+
run: yarn typedoc
26+
27+
- name: Deploy 🚀
28+
uses: JamesIves/github-pages-deploy-action@v4
29+
with:
30+
folder: docs

0 commit comments

Comments
 (0)