Skip to content

fix: ts-doc type err #34

fix: ts-doc type err

fix: ts-doc type err #34

Workflow file for this run

name: Deploy TypeDoc to GitHub Pages
on:
push:
branches:
- main
paths:
- 'packages/**' # directories to monitor
- '**.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: npm install
- name: Generate TypeDoc documentation
run: npm run typedoc
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./packages/docs
publish_branch: gh-pages