diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b27e32..8957889 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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() diff --git a/README.md b/README.md index 7fc048a..8a72a67 100644 --- a/README.md +++ b/README.md @@ -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