Run `docs:release-version` in CI

This commit is contained in:
Sidharth Vinod 2023-07-07 11:32:00 +05:30
parent 88856a721f
commit 79d38cef4b
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD
1 changed files with 13 additions and 0 deletions

View File

@ -36,6 +36,19 @@ jobs:
- name: Install Packages
run: pnpm install --frozen-lockfile
- name: Update release verion
run: |
pnpm --filter mermaid run docs:release-version
pnpm --filter mermaid run docs:build
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
add: '["docs", "packages/mermaid/src/docs"]'
author_name: ${{ github.actor }}
author_email: ${{ github.actor }}@users.noreply.github.com
message: 'chore: Update MERMAID_RELEASE_VERSION in docs'
- name: Setup Pages
uses: actions/configure-pages@v3