Skip to content

Workflow file for this run

name: Check, Lint, Build, Test, and Deploy Docs Site
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install deps
run: npm ci
- name: Check Types
run: npm run check
- name: Lint
run: npm run lint
- name: Build site
run: npm run build
- name: Run tests
run: npm run test:unit
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./build