chore(v3, docs): update and upgrade dependencies #210
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: documentation | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
publish: | |
name: github pages | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 22 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22.x | |
- name: Install pnpm | |
run: npm install --location=global [email protected] | |
- 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 | |
- name: GitHub Pages | |
uses: crazy-max/ghaction-github-pages@v4 | |
with: | |
target_branch: gh-pages | |
build_dir: ./packages/documentation/build | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_REPO }} |