π fix: update garmin pipeline #437
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: 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" |