Skip to content

0.2.0

0.2.0 #37

Workflow file for this run

name: doc
on:
workflow_dispatch:
push:
branches:
- main
paths:
- package.json
- index.d.ts
- README.md
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 100
- uses: actions/setup-node@v3
with:
node-version: '20'
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Build docs
run: |
pnpm i
pnpm build:docs
pnpm build:docs --json docs/types.json
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: docs
single-commit: true