Skip to content

fix: workflows

fix: workflows #13

Workflow file for this run

name: Publish TypeDoc
on:
push:
branches:
- master
jobs:
build-docs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false
- uses: ./.github/workflows/setup.yml
with:
node-version: ${{ matrix.node-version }}
- name: Build docs
run: npm run build:docs
- name: Upload pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/
deploy-docs:
needs: build-docs
permissions:
id-token: write
pages: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4