Skip to content

docs: use freeze to for cleaner example screenshot #34

docs: use freeze to for cleaner example screenshot

docs: use freeze to for cleaner example screenshot #34

# https://github.com/TypeStrong/typedoc/issues/1485#issuecomment-889376169
name: Typedoc Deploy
on: [push, pull_request]
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: 'npm'
- run: npm ci
- run: npm run build
- name: Create the docs directory locally in CI
run: npm run typedoc
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs