standardized pie definitions #1304
Workflow file for this run
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: Build Vitepress docs | |
on: | |
push: | |
branches: | |
- master | |
- release/* | |
pull_request: | |
merge_group: | |
permissions: | |
contents: read | |
jobs: | |
build-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
cache: pnpm | |
node-version: 18 | |
- name: Install Packages | |
run: pnpm install --frozen-lockfile | |
- name: Verify release verion | |
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release')) }} | |
run: pnpm --filter mermaid run docs:verify-version | |
- name: Run Build | |
run: pnpm --filter mermaid run docs:build:vitepress |