Skip to content

Merge pull request #38 from embroider-build/dont-mutate #21

Merge pull request #38 from embroider-build/dont-mutate

Merge pull request #38 from embroider-build/dont-mutate #21

Workflow file for this run

name: TypeDoc
on:
push:
branches:
- main
jobs:
typedoc:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Build documentation
run: pnpm run docs
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./typedoc