A GitHub Action / Docker image for Puppeteer, the Headless Chrome Node API
Forked from buildkite/puppeteer and based on this troubleshooting guide.
Puppeteer will need to be launched with:
browser.launch({ executablePath: 'google-chrome-unstable' })
This is done by default in @ianwalter/bff.
As a GitHub Action:
name: Main
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Install
uses: gadget-inc/puppeteer-action@master
with:
args: yarn
- name: Test
uses: gadget-inc/puppeteer-action@master
with:
args: yarn test
As a Docker container:
docker pull gadget-inc/puppeteer-action
@ianwalter/bff
- Your friendly test runner/framework@ianwalter/bff-puppeteer
- A bff plugin to enable Puppeteer-based testing
Apache 2.0 with Commons Clause - See LICENSE
Created by Ian Walter