Skip to content

Commit c058d6f

Browse files
committed
Generate docs server-side
1 parent 9cf8f33 commit c058d6f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
- run: pnpm i -r
2525
- run: npm run build
2626
- run: npm run test
27+
- run: npm run docs
2728
- run: npm pkg delete devDependencies scripts packageManager
2829
- name: Deploy Docs
2930
uses: peaceiris/actions-gh-pages@v4

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
},
2525
"scripts": {
2626
"build": "peggy --format es test/minimal.peggy && tsc",
27+
"docs": "typedoc",
2728
"lint": "eslint .",
2829
"test": "c8 node --test test/*.test.js"
2930
},

0 commit comments

Comments
 (0)