Skip to content

Fix params type when the route name is an union #61

Fix params type when the route name is an union

Fix params type when the route name is an union #61

Workflow file for this run

name: Build
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- run: yarn install --pure-lockfile
- run: yarn prepack
- name: Build docs
run: cd docs && yarn && yarn build
- name: Deploy
if: "contains('refs/heads/main', github.ref)"
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build