Skip to content

Commit

Permalink
Setup graphviz manually to fix CI issue on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
jbms committed Jan 3, 2023
1 parent 4196d06 commit 0570ead
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,18 @@ jobs:
path: "**/node_modules"
key: ${{ runner.os }}-${{ matrix.node-version }}-node_modules-${{ hashFiles('**/package-lock.json') }}
- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@79ea24a21263f792011acd62689c7ea2141feafa # v1.1.0
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt-get update && sudo apt-get install graphviz libgraphviz-dev pkg-config
elif [ "$RUNNER_OS" == "Windows" ]; then
choco install graphviz
elif [ "$RUNNER_OS" == "macOS" ]; then
brew install graphviz
else
echo "$RUNNER_OS not supported"
exit 1
fi
shell: bash
- run: npm install
- run: npm run check
- name: Install Python packaging, linting, & testing tools
Expand Down

0 comments on commit 0570ead

Please sign in to comment.