Skip to content

Merge pull request #508 from kitsuyui/renovate/pnpm-9.x #318

Merge pull request #508 from kitsuyui/renovate/pnpm-9.x

Merge pull request #508 from kitsuyui/renovate/pnpm-9.x #318

Workflow file for this run

name: Publish Typedoc
on:
push:
branches:
- main
jobs:
build:
name: Build Typedoc
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: pnpm/[email protected]
- uses: actions/setup-node@v4
with:
# https://nodejs.org/en/about/previous-releases
node-version: 22.x
- run: pnpm install
- run: pnpm typedoc
- uses: actions/upload-pages-artifact@v3
id: deployment
with:
path: ./build/typedocs
deploy:
name: Deploy Typedoc
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
steps:
# https://github.com/actions/deploy-pages
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4