cnpm / binary-mirror-config

Binary mirror config for prebuild and node-pre-gyp
https://npmmirror.com/mirrors/
Other
162 stars 18 forks source link

add PUPPETEER_DOWNLOAD_BASE_URL for puppeteer@20 #47

Closed elrrrrrrr closed 1 year ago

elrrrrrrr commented 1 year ago

Add PUPPETEER_DOWNLOAD_BASE_URL environment variable for compatibility with puppeteer@20 ref https://github.com/puppeteer/puppeteer/issues/10131

新增 PUPPETEER_DOWNLOAD_BASE_URL 环境变量,用以适配 puppeteer@20 ref https://github.com/puppeteer/puppeteer/issues/10131

codecov[bot] commented 1 year ago

Codecov Report

Merging #47 (156b298) into master (f010757) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #47   +/-   ##
=======================================
  Coverage   74.61%   74.61%           
=======================================
  Files           2        2           
  Lines         193      193           
  Branches       34       34           
=======================================
  Hits          144      144           
  Misses         49       49           
fengmk2 commented 1 year ago

PUPPETEER_DOWNLOAD_HOST=https://cdn.npmmirror.com/binaries/chrome-for-testing npminstall puppeteer@19 PUPPETEER_DOWNLOAD_HOST=https://cdn.npmmirror.com/binaries/chrome-for-testing npminstall puppeteer@20

@elrrrrrrr 老的 PUPPETEER_DOWNLOAD_HOST 也改掉,已经兼容。