File tree Expand file tree Collapse file tree 2 files changed +55
-0
lines changed Expand file tree Collapse file tree 2 files changed +55
-0
lines changed Original file line number Diff line number Diff line change @@ -27,13 +27,52 @@ jobs:
2727 steps :
2828 - name : Checkout
2929 uses : actions/checkout@v4
30+
31+ - name : Setup Node.js
32+ uses : actions/setup-node@v4
33+ with :
34+ node-version : " 20"
35+
36+ - name : Setup pnpm
37+ uses : pnpm/action-setup@v4
38+ with :
39+ version : 10.11.0
40+
41+ - name : Install dependencies
42+ run : |
43+ cd js
44+ pnpm install --frozen-lockfile
45+
46+ - name : Prebuild packages
47+ run : |
48+ cd js
49+ pnpm run -r prebuild
50+
51+ - name : Build packages
52+ run : |
53+ cd js
54+ pnpm run -r build
55+
3056 - name : Setup Pages
3157 uses : actions/configure-pages@v5
58+
3259 - name : Build with Jekyll
3360 uses : actions/jekyll-build-pages@v1
3461 with :
3562 source : ./
3663 destination : ./_site
64+
65+ - name : Build TypeDoc documentation
66+ run : |
67+ cd js
68+ pnpm run docs:generate
69+
70+ - name : Copy TypeDoc to js subpath
71+ run : |
72+ sudo chown -R $USER:$USER _site
73+ mkdir -p _site/js
74+ cp -r js/docs/* _site/js/
75+
3776 - name : Upload artifact
3877 uses : actions/upload-pages-artifact@v3
3978
Original file line number Diff line number Diff line change 1+ # Jekyll configuration for GitHub Pages
2+ exclude :
3+ - node_modules
4+ - js/node_modules
5+ - js/packages/*/node_modules
6+ - js/examples/*/node_modules
7+ - js/examples/*/backend/node_modules
8+ - js/examples/*/frontend/node_modules
9+ - .git
10+ - .github
11+ - Gemfile
12+ - Gemfile.lock
13+ - README.md
14+ - LICENSE
15+ - .gitignore
16+ - .nojekyll
You can’t perform that action at this time.
0 commit comments