Skip to content

πŸ› fix: update metadata pipelines #450

πŸ› fix: update metadata pipelines

πŸ› fix: update metadata pipelines #450

name: Generate mermaid diagrams
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: "20"
- name: Install mermaid
run: npm install @mermaid-js/mermaid-cli mermaid
- name: Generate mermaid diagrams
run: node ./scripts/generate-diagrams.mjs
- name: Delete package-lock.json
run: rm package-lock.json && rm package.json
# - name: Commit and push if changed
# uses: stefanzweifel/git-auto-commit-action@v5
# with:
# commit_message: "chore: generate mermaid diagrams"
# commit_options: "--no-verify --signoff"