Skip to content

Fix pages build

Fix pages build #20

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: "20"
- name: Install
run: npm ci
- name: Build
run: npm run build
- name: Build docs
run: npm run docs -- src/testdata/infer.ts
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: docs