Skip to content

Commit

Permalink
docs(circleci): Add CircleCI to troubleshooting docs (#4810)
Browse files Browse the repository at this point in the history
This came from personal difficulties in running Puppeteer tests on CircleCI. I tried to keep the note as brief as possible, while being helpful for an entire CI platform.
  • Loading branch information
DangoDev authored and aslushnikov committed Aug 7, 2019
1 parent dcff850 commit 374177b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* [[recommended] Enable user namespace cloning](#recommended-enable-user-namespace-cloning)
* [[alternative] Setup setuid sandbox](#alternative-setup-setuid-sandbox)
- [Running Puppeteer on Travis CI](#running-puppeteer-on-travis-ci)
- [Running Puppeteer on CircleCI](#running-puppeteer-on-circleci)
- [Running Puppeteer in Docker](#running-puppeteer-in-docker)
* [Running on Alpine](#running-on-alpine)
- [Tips](#tips)
Expand Down Expand Up @@ -214,6 +215,14 @@ before_install:
- "sh -e /etc/init.d/xvfb start"
```
## Running Puppeteer on CircleCI
CircleCI has a shared [orb](https://circleci.com/orbs/) that can be used to
install missing dependencies:
[threetreeslight/puppeteer](https://circleci.com/orbs/registry/orb/threetreeslight/puppeteer).
You can either use the orb as-is ([docs](https://circleci.com/orbs/)), or
copy parts of that config into your own as-needed.
## Running Puppeteer in Docker
Expand Down

0 comments on commit 374177b

Please sign in to comment.