Skip to content

docs: update Node.js requirement #104

docs: update Node.js requirement

docs: update Node.js requirement #104

Workflow file for this run

name: docs
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
env:
DOCS_GA_ID: G-CTB8FQ7VMW
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 24
cache: pnpm
- name: Install dependencies
run: pnpm ci
- name: Build documentation site
run: pnpm docs:build
- name: Deploy to GitHub Pages
uses: crazy-max/ghaction-github-pages@v4
with:
repo: vuepress/vuepress.github.io
target_branch: main
build_dir: docs/.vuepress/dist
env:
GH_PAT: ${{ secrets.GH_PAGES_TOKEN }}