Skip to content

chore(root): upgrade actions checkout and setup-node to v4 #171

chore(root): upgrade actions checkout and setup-node to v4

chore(root): upgrade actions checkout and setup-node to v4 #171

Workflow file for this run

name: documentation
on:
push:
branches:
- master
jobs:
publish:
name: github pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install pnpm
run: npm install --location=global pnpm
- name: Remove pnpm-workspace.yaml
run: rm -rf ./pnpm-workspace.yaml
- name: Install dependencies
working-directory: ./packages/documentation
run: pnpm install
- name: Build docs
working-directory: ./packages/documentation
run: pnpm run build:docs
- name: GitHub Pages
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages
build_dir: ./packages/documentation/docs/.vuepress/dist
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_REPO }}