chore: some more refactor #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: typedoc-generator | |
on: | |
push: | |
paths: | |
- "packages/**/**/src/**" | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: 🛠 Setup Git, PNPM and Node.js | |
uses: ./.github/composite-actions/install | |
- name: ⚙️ Build Typedoc assets | |
run: pnpm run writeTypedoc | |
- name: 🚢 Deploy Typedoc assets to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs |