Skip to content

Commit 3acef99

Browse files
committed
fix(pages): update
1 parent 9cca755 commit 3acef99

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

.github/workflows/github_pages.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,25 @@ jobs:
1010
deploy:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- name: Checkout code
14-
uses: actions/checkout@v2
13+
- uses: actions/checkout@v2
14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version: 20
17+
- uses: pnpm/action-setup@v4.0.0
18+
with:
19+
version: latest
20+
run_install: true
1521

1622
- name: Install doc theme
17-
run: npm i -g typedoc-github-theme
23+
run: pnpm i -g typedoc-github-theme
24+
1825
- name: Build
1926
uses: erikyo/tsdoc-action@v1
2027
with:
2128
source_dir: ./packages/react-user-media/*
2229
output_dir: ./docs_out
2330
theme: typedoc-github-theme
24-
tsconfig: ./packages/react-user-media/tsconfig.lib.json
31+
tsconfig_file: ./packages/react-user-media/tsconfig.lib.json
2532
front_page: ./packages/react-user-media/README.md
2633

2734
- name: Deploy

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,8 @@ dist-ssr
2525

2626
# vitest
2727
__screenshots__
28-
coverage
28+
coverage
29+
30+
# docs
31+
32+
docs_out

0 commit comments

Comments
 (0)