在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:ianwalter/puppeteer-container开源软件地址:https://github.com/ianwalter/puppeteer-container开源编程语言:Dockerfile 85.1%开源软件介绍:ianwalter/puppeteer-container
DEPRECATEDSorry, I've switched to Playwright and no longer use Puppeteer. You should be able to use ianwalter/playwright-container instead by setting environment variables like:
So that Puppeteer doesn't download Chromium and uses the existig binary in the image. AboutForked from buildkite/puppeteer and based on this troubleshooting guide. UsagePuppeteer 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/[email protected]
uses: ianwalter/puppeteer-container@acc52cd2334ad9eaf6e1974562d263e0a711b7e8
with:
args: pnpm i
- name: Test
uses: ianwalter/puppeteer-container@acc52cd2334ad9eaf6e1974562d263e0a711b7e8
with:
args: pnpm t As a Docker container: docker pull ianwalter/puppeteer:v4.0.0 Related
LicenseApache 2.0 with Commons Clause - See LICENSE
Created by Ian Walter |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论