GitHub Action
Puppeteer Container
v4.0.0
Latest version
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({ args: ['--no-sandbox'] })
This is done by default in @ianwalter/bff-puppeteer.
As a GitHub Action:
name: CI
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install
# NOTE: this pins the action to a specific commit sha for security
# reasons but you can also use a version tag if desired. For example:
# ianwalter/puppeteer-container@v4.0.0
uses: ianwalter/puppeteer-container@a41ba81d6c2a033597513fcd189801c512244b7e
with:
args: yarn
- name: Test
uses: ianwalter/puppeteer-container@a41ba81d6c2a033597513fcd189801c512244b7e
with:
args: yarn test
As a Docker container:
docker pull ianwalter/puppeteer:v4.0.0
@ianwalter/bff
- Your friendly test runner/frameworkianwalter/playwright-container
- A GitHub Action / Docker image for Playwright, the browser automation library
Apache 2.0 with Commons Clause - See LICENSE
Created by Ian Walter