Skip to content

fix(ci): Fix action version #15

fix(ci): Fix action version

fix(ci): Fix action version #15

# 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:
branch: gh-pages
folder: docs