Skip to content

chore(deps): bump mermaid from 10.6.0 to 10.9.3 in /docs #9

chore(deps): bump mermaid from 10.6.0 to 10.9.3 in /docs

chore(deps): bump mermaid from 10.6.0 to 10.9.3 in /docs #9

name: Build and Preview Docs
on:
# Instead of pull_request to use secrets:
# See https://github.com/orgs/community/discussions/50161
pull_request_target:
branches:
- main
paths:
- 'docs/**'
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
jobs:
build-and-preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- name: Install Dependencies
run: pnpm install --frozen-lockfile --prefer-offline
- name: Pull Vercel Environment Information
run: vercel pull --cwd ./docs --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project Artifacts
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}