Skip to content

Commit

Permalink
Install missing OS dependencies
Browse files Browse the repository at this point in the history
Missing fonts cause layout issues.

Closes remcohaszing#6
  • Loading branch information
remcohaszing committed Oct 26, 2022
1 parent 915607e commit 529e44b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
path: ~/.cache/ms-playwright
key: playwright-${{ hashFiles('package-lock.json') }}
- run: npm ci
- run: npx playwright install
- run: npx playwright install --with-deps
- run: npm test
- uses: actions/upload-artifact@v3
if: always()
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@ using [puppeteer](https://pptr.dev).
## Installation

```sh
npm install remark-mermaidjs
npm install remark-mermaidjs
```

Since this package uses Google Chrome, You have to make sure it’s available on your system.
Since this package uses Google Chrome, You have to make sure it’s available on your system. You may
also need to install some additional packages, such as fonts, depending on your system. For more
information, see the Puppeteer
[troubleshooting](https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md) guide.

## Usage

Expand Down

0 comments on commit 529e44b

Please sign in to comment.