-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add PUPPETEER_DOWNLOAD_BASE_URL for puppeteer@20 #47
Conversation
elrrrrrrr
commented
May 5, 2023
- 🆕 Added env config
- 🤖 Update mockAgent in test case
- 🆕 增加 env 配置
- 🤖 修改测试用例 mock 方法
b12c2d5
to
dfaa064
Compare
Codecov Report
@@ Coverage Diff @@
## master #47 +/- ##
=======================================
Coverage 74.61% 74.61%
=======================================
Files 2 2
Lines 193 193
Branches 34 34
=======================================
Hits 144 144
Misses 49 49 |
PUPPETEER_DOWNLOAD_HOST=https://cdn.npmmirror.com/binaries/chrome-for-testing npminstall puppeteer@19 @elrrrrrrr 老的 PUPPETEER_DOWNLOAD_HOST 也改掉,已经兼容。 |
dfaa064
to
1562846
Compare
@@ -58,7 +58,7 @@ | |||
"SASS_BINARY_SITE": "https://cdn.npmmirror.com/binaries/node-sass", | |||
"SWC_BINARY_SITE": "https://cdn.npmmirror.com/binaries/node-swc", | |||
"NWJS_URLBASE": "https://cdn.npmmirror.com/binaries/nwjs/v", | |||
"PUPPETEER_DOWNLOAD_HOST": "https://cdn.npmmirror.com/binaries", | |||
"PUPPETEER_DOWNLOAD_HOST": "https://cdn.npmmirror.com/binaries/chrome-for-testing", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@elrrrrrrr PUPPETEER_DOWNLOAD_BASE_URL 也得加上,新版本不会使用 PUPPETEER_DOWNLOAD_HOST 了
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已添加 👌🏻
1562846
to
156b298
Compare
[skip ci] ## [2.11.0](v2.10.0...v2.11.0) (2023-05-05) ### Features * add PUPPETEER_DOWNLOAD_BASE_URL for puppeteer@20 ([#47](#47)) ([dec350b](dec350b))