Skip to content

doc: add nthChild to schema #679

doc: add nthChild to schema

doc: add nthChild to schema #679

Workflow file for this run

name: Github Page Docs
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install rust toolchain
uses: actions-rs/toolchain@v1
- name: Install wasm-pack
uses: jetli/wasm-pack-action@v0.4.0
with:
# Optional version of wasm-pack to install(eg. 'v0.9.1', 'latest')
version: 'latest'
- name: Cache Rust Deps
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target/
key: ${{ runner.os }}-${{ github.sha }}
restore-keys: ${{ runner.os }}-
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: '16'
- name: Build WASM
run: wasm-pack build --target web && cd pkg && npm install
- name: Setup pnpm
uses: pnpm/action-setup@v4.0.0
with:
version: 7.12.2
run_install: |
- recursive: true
- name: Vite Build 🔧
run: pnpm build
- name: Upload Artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./website/dist
# Deployment job
deploy:
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
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