Skip to content

chore(bundle): remove CJS bundle since browsers cannot load them (#35) #11

chore(bundle): remove CJS bundle since browsers cannot load them (#35)

chore(bundle): remove CJS bundle since browsers cannot load them (#35) #11

Workflow file for this run

name: CI for Docs
on:
pull_request:
branches: [main]
types: [opened, synchronize, reopened, ready_for_review]
paths:
- docs/**
push:
branches: [main]
paths:
- docs/**
workflow_dispatch:
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
runs-on: ubuntu-slim
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up pnpm
uses: pnpm/action-setup@v4.2.0
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: latest
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build Docs
run: pnpm docs:build
- name: Deploy (push to main)
uses: JamesIves/github-pages-deploy-action@v4
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
with:
folder: docs/.vitepress/dist