Skip to content

build(deps-dev): bump @types/mocha from 10.0.7 to 10.0.8 in the dev-m… #61

build(deps-dev): bump @types/mocha from 10.0.7 to 10.0.8 in the dev-m…

build(deps-dev): bump @types/mocha from 10.0.7 to 10.0.8 in the dev-m… #61

Workflow file for this run

name: "typedoc"
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- name: "Checkout source code"
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/[email protected]
with:
node-version: lts/*
- name: NPM Clean Install
run: npm ci
# Generate your TypeDoc documentation
- run: npx typedoc
# https://github.com/actions/upload-pages-artifact
- uses: actions/upload-pages-artifact@v3
with:
path: ./docs # This should be your TypeDoc "out" path.
deploy-docs:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build-docs
steps:
- name: Deploy to GitHub Pages
id: deployment
# https://github.com/actions/deploy-pages
uses: actions/deploy-pages@v4